diff --git a/mediarepo-api/src/client_api/tag.rs b/mediarepo-api/src/client_api/tag.rs index f9f976b..12242e5 100644 --- a/mediarepo-api/src/client_api/tag.rs +++ b/mediarepo-api/src/client_api/tag.rs @@ -29,7 +29,7 @@ impl TagApi { /// Returns a list of all tags stored in the repo #[tracing::instrument(level = "debug", skip(self))] - pub async fn get_all_tags(&self) -> ApiResult> { + pub async fn get_all_tags(&self) -> ApiResult> { self.emit_and_get("all_tags", ()).await } diff --git a/mediarepo-api/src/tauri_plugin/commands/tag.rs b/mediarepo-api/src/tauri_plugin/commands/tag.rs index 72e753f..6a9b11c 100644 --- a/mediarepo-api/src/tauri_plugin/commands/tag.rs +++ b/mediarepo-api/src/tauri_plugin/commands/tag.rs @@ -3,7 +3,7 @@ use crate::tauri_plugin::error::PluginResult; use crate::types::tags::TagResponse; #[tauri::command] -pub async fn get_all_tags(api_state: ApiAccess<'_>) -> PluginResult> { +pub async fn get_all_tags(api_state: ApiAccess<'_>) -> PluginResult> { let api = api_state.api().await?; let all_tags = api.tag.get_all_tags().await?;