Fix approved value setting (#415)

This commit is contained in:
Geometrically authored and GitHub committed 2022-08-07 09:21:49 -07:00
1 parent 33988ed3fb
commit 8272386733
2 files changed
+13 -13

No files matched your search

+1 -1
View File
@@ -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,