mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-09-19 20:32:19 +02:00
feat(arabot): add order to order by to findNotes
This commit is contained in:
parent
e21bf55fc7
commit
72c27f5b72
@ -27,6 +27,10 @@ export async function findNotes(userId: string, active: boolean) {
|
|||||||
userId,
|
userId,
|
||||||
active,
|
active,
|
||||||
},
|
},
|
||||||
|
orderBy:
|
||||||
|
{
|
||||||
|
id: 'asc',
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
return note;
|
return note;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user