diff options
| author | 2023-04-19 14:42:00 +0300 | |
|---|---|---|
| committer | 2023-04-19 13:42:00 +0200 | |
| commit | cb1f935013b14a3a77ad5cc45a5c18ab9eea7bcd (patch) | |
| tree | 614b0cc112f3f23a7c8715cddeba9e065e37fd29 /internal/db/bundb | |
| parent | [feature] Receive notification when followed account posts (if desired) (#1680) (diff) | |
| download | gotosocial-cb1f935013b14a3a77ad5cc45a5c18ab9eea7bcd.tar.xz | |
[bugfix] Fix the bookmarks list API endpoint returning an empty array (#1700)
Diffstat (limited to 'internal/db/bundb')
| -rw-r--r-- | internal/db/bundb/statusbookmark.go | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/internal/db/bundb/statusbookmark.go b/internal/db/bundb/statusbookmark.go index 92567b89a..f7d19cd23 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) | 
