diff options
Diffstat (limited to 'internal/processing/status/bookmark.go')
-rw-r--r-- | internal/processing/status/bookmark.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/internal/processing/status/bookmark.go b/internal/processing/status/bookmark.go index 6f5c7f633..3cf64490a 100644 --- a/internal/processing/status/bookmark.go +++ b/internal/processing/status/bookmark.go @@ -55,14 +55,9 @@ func (p *processor) Bookmark(ctx context.Context, requestingAccount *gtsmodel.Ac } if newBookmark { - thisBookmarkID, err := id.NewULID() - if err != nil { - return nil, gtserror.NewErrorInternalError(err) - } - // we need to create a new bookmark in the database gtsBookmark := >smodel.StatusBookmark{ - ID: thisBookmarkID, + ID: id.NewULID(), AccountID: requestingAccount.ID, Account: requestingAccount, TargetAccountID: targetStatus.AccountID, |