From f438b278bca1c7f3c1187ddeec48f8b72c619596 Mon Sep 17 00:00:00 2001 From: Riccardo Balbo Date: Tue, 15 Oct 2024 17:02:00 +0200 Subject: [PATCH] fix priority sorting --- api/resolvers/wallet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/resolvers/wallet.js b/api/resolvers/wallet.js index 0da5fbca..b66da95d 100644 --- a/api/resolvers/wallet.js +++ b/api/resolvers/wallet.js @@ -199,7 +199,7 @@ const resolvers = { return await models.wallet.findMany({ where: filter, orderBy: { - priority: 'desc' + priority: 'asc' } }) },