diff options
author | 2022-09-28 22:25:14 +0200 | |
---|---|---|
committer | 2022-09-29 12:34:41 +0200 | |
commit | 0ed0aadd38eaa4509f5389f8dc9e148995ba2e7e (patch) | |
tree | 5033977b4d432e58cfc290f6e1559f63930e34a6 | |
parent | [bugfix] Fix emphasis being added to emoji shortcodes with markdown parsing (... (diff) | |
download | gotosocial-0ed0aadd38eaa4509f5389f8dc9e148995ba2e7e.tar.xz |
remove misused bun.Ident
-rw-r--r-- | internal/db/bundb/status.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/db/bundb/status.go b/internal/db/bundb/status.go index 59417afe4..2d920ee3f 100644 --- a/internal/db/bundb/status.go +++ b/internal/db/bundb/status.go @@ -233,7 +233,7 @@ func (s *statusDB) DeleteStatusByID(ctx context.Context, id string) db.Error { if _, err := tx. NewDelete(). Model(>smodel.StatusToEmoji{}). - Where("status_id = ?", bun.Ident(id)). + Where("status_id = ?", id). Exec(ctx); err != nil { return err } @@ -242,7 +242,7 @@ func (s *statusDB) DeleteStatusByID(ctx context.Context, id string) db.Error { if _, err := tx. NewDelete(). Model(>smodel.StatusToTag{}). - Where("status_id = ?", bun.Ident(id)). + Where("status_id = ?", id). Exec(ctx); err != nil { return err } |