feat(arabot): add order to order by to findNotes

This commit is contained in:
smyalygames 2023-02-20 00:08:32 +00:00
parent e21bf55fc7
commit 72c27f5b72

View File

@ -27,6 +27,10 @@ export async function findNotes(userId: string, active: boolean) {
userId, userId,
active, active,
}, },
orderBy:
{
id: 'asc',
},
}); });
return note; return note;