diff --git a/mediarepo-api/src/client_api/repo.rs b/mediarepo-api/src/client_api/repo.rs index 4344323..51e71a8 100644 --- a/mediarepo-api/src/client_api/repo.rs +++ b/mediarepo-api/src/client_api/repo.rs @@ -34,7 +34,7 @@ impl RepoApi { /// Returns the size of a given type #[tracing::instrument(level = "debug", skip(self))] pub async fn get_size(&self, size_type: SizeType) -> ApiResult { - self.emit_and_get("size_metadata", (), Some(Duration::from_secs(30))).await + self.emit_and_get("size_metadata", size_type, Some(Duration::from_secs(30))).await } /// Returns the state of the frontend that is stored in the repo