mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-29 22:26:15 -06:00
actually update by the currently set status ID field 🤦
This commit is contained in:
parent
80a65366e0
commit
b941325a0c
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue