Skip to content

Commit

Permalink
fix(next/api): ticket overview lastest reply
Browse files Browse the repository at this point in the history
  • Loading branch information
sdjdd committed Mar 4, 2024
1 parent 1fbaf07 commit bdaa709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion next/api/src/router/ticket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ router.get('/:id/overview', async (ctx) => {

const latestReply = await Reply.queryBuilder()
.where('ticket', '==', ticket.toPointer())
.where('internal', 'not-exists')
.where('internal', '!=', true)
.where('deletedAt', 'not-exists')
.preload('author')
.orderBy('createdAt', 'desc')
Expand Down

0 comments on commit bdaa709

Please sign in to comment.