- commit
- dcf93cb
- parent
- 3a969c2
- author
- Antonio Mika
- date
- 2023-11-10 19:40:13 +0000 UTC
Don't use now for updates
1 files changed,
+1,
-1
+1,
-1
1@@ -745,7 +745,7 @@ func (me *PsqlDB) UpdatePost(post *db.Post) (*db.Post, error) {
2 post.Title,
3 post.Text,
4 post.Description,
5- time.Now(),
6+ post.UpdatedAt,
7 post.PublishAt,
8 post.FileSize,
9 post.Shasum,