Fix approved value setting (#415)
This commit is contained in:
1 parent
33988ed3fb
commit
8272386733
2 files changed
+13
-13
No files matched your search
@@ -491,7 +491,7 @@ pub async fn project_edit(
|
||||
sqlx::query!(
|
||||
"
|
||||
UPDATE mods
|
||||
SET published = NOW()
|
||||
SET approved = NOW()
|
||||
WHERE id = $1 AND approved = NULL
|
||||
",
|
||||
id as database::models::ids::ProjectId,
|
||||
|
||||
Reference in new issue
Block a user