implement a lot of run procedure

This commit is contained in:
mbecker20
2022-12-19 00:59:00 +00:00
parent b9978f531a
commit 5cd68191fc
3 changed files with 213 additions and 46 deletions

View File

@@ -87,8 +87,7 @@ impl MonitorClient {
}
pub async fn get_user(&self) -> anyhow::Result<String> {
self.get_string("/api/user", Option::<String>::None)
.await
self.get_string("/api/user", Option::<String>::None).await
}
async fn get<R: DeserializeOwned>(