mirror of
1
Fork 0

[bugfix] Fix the bookmarks list API endpoint returning an empty array (#1700)

This commit is contained in:
Umar Getagazov 2023-04-19 14:42:00 +03:00 committed by GitHub
parent 093cf2ab12
commit cb1f935013
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ func (s *statusBookmarkDB) GetStatusBookmark(ctx context.Context, id string) (*g
err := s.conn. err := s.conn.
NewSelect(). NewSelect().
Model(bookmark). Model(bookmark).
Where("? = ?", bun.Ident("status_bookmark.ID"), id). Where("? = ?", bun.Ident("status_bookmark.id"), id).
Scan(ctx) Scan(ctx)
if err != nil { if err != nil {
return nil, s.conn.ProcessError(err) return nil, s.conn.ProcessError(err)