actually update by the currently set status ID field 🤦

This commit is contained in:
kim 2025-01-08 23:40:51 +00:00
commit b941325a0c

View file

@ -117,7 +117,7 @@ func init() {
Column("edits"). Column("edits").
Where("? = ?", Where("? = ?",
bun.Ident("id"), bun.Ident("id"),
status.ID, edit.StatusID,
). ).
Exec(ctx); err != nil { Exec(ctx); err != nil {
return fmt.Errorf("error updating status.edits: %w", err) return fmt.Errorf("error updating status.edits: %w", err)