Document Microsoft Graph email auth env vars; newest bookmarks first
Deploy with Docker Compose / deploy (push) Successful in 1m4s
Deploy with Docker Compose / deploy (push) Successful in 1m4s
Co-Authored-By: Claude Code <[email protected]>
This commit is contained in:
@@ -51,7 +51,7 @@ func (r *mutationResolver) DeleteBookmark(ctx context.Context, id int) (*models.
|
||||
// Bookmarks is the resolver for the bookmarks field.
|
||||
func (r *queryResolver) Bookmarks(ctx context.Context) ([]*models.Bookmark, error) {
|
||||
var bookmarks []models.Bookmark
|
||||
if err := r.Store.DB.Order("category ASC, created_at ASC").Find(&bookmarks).Error; err != nil {
|
||||
if err := r.Store.DB.Order("category ASC, created_at DESC").Find(&bookmarks).Error; err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ptrs(bookmarks), nil
|
||||
|
||||
Reference in New Issue
Block a user