mirror of
https://github.com/v0l/route96.git
synced 2025-06-19 15:06:45 +00:00
feat: r96util import
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user