refactor: file_info, rabbitmq, queue

This commit is contained in:
Per Stark
2024-12-10 16:02:40 +01:00
parent 6ad4071d63
commit 4803632f0a
10 changed files with 113 additions and 161 deletions
+1 -1
View File
@@ -111,5 +111,5 @@ pub async fn get_item<T>(db_client: &Surreal<Client>, id: &str) -> Result<Option
where
T: for<'de> StoredObject,
{
Ok(db_client.select((T::table_name(), id)).await?)
db_client.select((T::table_name(), id)).await
}