Skip to content

Commit 0744477

Browse files
handlerugtsmethurst
authored andcommitted
[bugfix] Fix the bookmarks list API endpoint returning an empty array (#1700)
1 parent f28ed21 commit 0744477

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/db/bundb/statusbookmark.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func (s *statusBookmarkDB) GetStatusBookmark(ctx context.Context, id string) (*g
4040
err := s.conn.
4141
NewSelect().
4242
Model(bookmark).
43-
Where("? = ?", bun.Ident("status_bookmark.ID"), id).
43+
Where("? = ?", bun.Ident("status_bookmark.id"), id).
4444
Scan(ctx)
4545
if err != nil {
4646
return nil, s.conn.ProcessError(err)

0 commit comments

Comments
 (0)