Fix gallery date display (#445)

* Fix gallery date display

* Fix approved date not setting
This commit is contained in:
Geometrically authored and GitHub committed 2022-09-04 13:37:11 -07:00
1 parent e7c3f8bf47
commit b25af641e2
4 files changed
+28 -15

No files matched your search

+1 -1
View File
@@ -507,7 +507,7 @@ pub async fn project_edit(
"
UPDATE mods
SET approved = NOW()
WHERE id = $1 AND approved = NULL
WHERE id = $1 AND approved IS NULL
",
id as database::models::ids::ProjectId,
)