diff --git a/internal/db/bundb/statusbookmark.go b/internal/db/bundb/statusbookmark.go index 92567b89..f7d19cd2 100644 --- a/internal/db/bundb/statusbookmark.go +++ b/internal/db/bundb/statusbookmark.go @@ -40,7 +40,7 @@ func (s *statusBookmarkDB) GetStatusBookmark(ctx context.Context, id string) (*g err := s.conn. NewSelect(). Model(bookmark). - Where("? = ?", bun.Ident("status_bookmark.ID"), id). + Where("? = ?", bun.Ident("status_bookmark.id"), id). Scan(ctx) if err != nil { return nil, s.conn.ProcessError(err)