Skip to content

Commit

Permalink
Don't use now for updates
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniomika committed Nov 10, 2023
1 parent 3a969c2 commit dcf93cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/postgres/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ func (me *PsqlDB) UpdatePost(post *db.Post) (*db.Post, error) {
post.Title,
post.Text,
post.Description,
time.Now(),
post.UpdatedAt,
post.PublishAt,
post.FileSize,
post.Shasum,
Expand Down

0 comments on commit dcf93cb

Please sign in to comment.