mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-22 18:22:11 +00:00
[bugfix] Fix the bookmarks list API endpoint returning an empty array (#1700)
This commit is contained in:
parent
093cf2ab12
commit
cb1f935013
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue