Update RefundTicket schema to rename 'reason' field to 'rejectedReason' for clarity in status updates. Update subproject reference in epess-database. Enhance generated types in pothos.generated.ts for improved schema management.
This commit is contained in:
Submodule epess-database updated: b0ab768c02...2d10fc539c
@@ -211,7 +211,7 @@ export class RefundTicketSchema extends PothosSchema {
|
||||
where: { id: args.refundTicketId },
|
||||
data: {
|
||||
status: args.action === 'APPROVE' ? RefundTicketStatus.APPROVED : RefundTicketStatus.REJECTED,
|
||||
reason: args.action === 'REJECT' ? args.reason : undefined,
|
||||
rejectedReason: args.action === 'REJECT' ? args.reason : undefined,
|
||||
moderatorId: ctx.http.me?.id,
|
||||
},
|
||||
})
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user