Skip to content

Commit

Permalink
desc to asc
Browse files Browse the repository at this point in the history
  • Loading branch information
Geapefurit committed Jan 30, 2024
1 parent 0148853 commit f31d95f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nft-meta/pkg/mw/v1/synctask/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func (h *Handler) GetSyncTasks(ctx context.Context) ([]*synctaskproto.SyncTask,
handler.stm.
Offset(int(h.Offset)).
Limit(int(h.Limit)).
Order(ent.Desc(synctaskent.FieldID))
Order(ent.Asc(synctaskent.FieldID))
return handler.scan(_ctx)
})
if err != nil {
Expand Down

0 comments on commit f31d95f

Please sign in to comment.