fix priority sorting

This commit is contained in:
Riccardo Balbo 2024-10-15 17:02:00 +02:00 committed by k00b
parent d30502a011
commit f438b278bc
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ const resolvers = {
return await models.wallet.findMany({ return await models.wallet.findMany({
where: filter, where: filter,
orderBy: { orderBy: {
priority: 'desc' priority: 'asc'
} }
}) })
}, },