Fix api call name

Signed-off-by: trivernis <trivernis@protonmail.com>
pull/12/head
trivernis 3 years ago
parent 91531bc940
commit a5a0134c56
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -28,7 +28,7 @@ impl PresetApi {
#[tracing::instrument(level = "debug", skip(self))] #[tracing::instrument(level = "debug", skip(self))]
pub async fn all_sorting_presets(&self) -> ApiResult<Vec<SortingPreset>> { pub async fn all_sorting_presets(&self) -> ApiResult<Vec<SortingPreset>> {
self.emit_and_get( self.emit_and_get(
"sorting_presets", "all_sorting_presets",
(), (),
Some(Duration::from_secs(1)) Some(Duration::from_secs(1))
) )

Loading…
Cancel
Save