Skip to content

Commit

Permalink
Fix bug pt2
Browse files Browse the repository at this point in the history
  • Loading branch information
ThatKoffe committed Dec 5, 2023
1 parent 6e29ce3 commit 5ae25e0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/routes/api/v1/bots/[bot_id]/vote/+server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ export async function POST({ locals, params }) {
where: {
bot_id: bot.id,
voter_id: locals.actor!.id
},
orderBy: {
created_time: 'desc'
}
});

Expand Down

0 comments on commit 5ae25e0

Please sign in to comment.