fix priority sorting
This commit is contained in:
parent
d30502a011
commit
f438b278bc
|
@ -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'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue