Document Microsoft Graph email auth env vars; newest bookmarks first
Deploy with Docker Compose / deploy (push) Successful in 1m4s

Co-Authored-By: Claude Code <[email protected]>
This commit is contained in:
2026-09-22 22:55:35 +01:00
co-authored by Claude Code
parent ff186f04a7
commit 49909037db
2 changed files with 21 additions and 2 deletions
+1 -1
View File
@@ -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