Skip to content

Commit

Permalink
[bugfix] Fix the bookmarks list API endpoint returning an empty array (
Browse files Browse the repository at this point in the history
  • Loading branch information
handlerug authored and tsmethurst committed Apr 19, 2023
1 parent f28ed21 commit 0744477
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/db/bundb/statusbookmark.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0744477

Please sign in to comment.