feat: r96util import

This commit is contained in:
2025-02-12 12:11:58 +00:00
parent f5b206dad3
commit 4dad339c09
6 changed files with 152 additions and 39 deletions

View File

@ -415,7 +415,7 @@ where
return BlossomResponse::error(format!("Failed to save file (db): {}", e));
}
};
if let Err(e) = db.add_file(&upload, user_id).await {
if let Err(e) = db.add_file(&upload, Some(user_id)).await {
error!("{}", e.to_string());
BlossomResponse::error(format!("Error saving file (db): {}", e))
} else {