about summary refs log tree commit diff
path: root/src/database/memory.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/database/memory.rs')
-rw-r--r--src/database/memory.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/database/memory.rs b/src/database/memory.rs
index df142d3..5e2ad52 100644
--- a/src/database/memory.rs
+++ b/src/database/memory.rs
@@ -6,7 +6,7 @@ use tokio::sync::RwLock;
 use futures_util::FutureExt;
 use serde_json::json;
 
-use crate::database::{Storage, Result, StorageError, ErrorKind, MicropubChannel};
+use crate::database::{Storage, Result, StorageError, ErrorKind, MicropubChannel, Settings};
 
 #[derive(Clone, Debug)]
 pub struct MemoryStorage {
@@ -177,12 +177,12 @@ impl Storage for MemoryStorage {
     }
 
     #[allow(unused_variables)]
-    async fn get_setting(&self, setting: &'_ str, user: &'_ str) -> Result<String> {
+    async fn get_setting(&self, setting: Settings, user: &'_ str) -> Result<String> {
         todo!()
     }
 
     #[allow(unused_variables)]
-    async fn set_setting(&self, setting: &'_ str, user: &'_ str, value: &'_ str) -> Result<()> {
+    async fn set_setting(&self, setting: Settings, user: &'_ str, value: &'_ str) -> Result<()> {
         todo!()
     }
 }