merge change from db
This commit is contained in:
@@ -7,6 +7,7 @@ import {
|
||||
} from '@smatch-corp/nestjs-pothos';
|
||||
import { Builder } from '../Graphql/graphql.builder';
|
||||
import { PrismaService } from '../Prisma/prisma.service';
|
||||
import { PaymentStatus } from '@prisma/client';
|
||||
|
||||
@Injectable()
|
||||
export class RefundTicketSchema extends PothosSchema {
|
||||
@@ -28,7 +29,8 @@ export class RefundTicketSchema extends PothosSchema {
|
||||
amount: t.exposeFloat('amount', {
|
||||
description: 'The amount of the refund ticket.',
|
||||
}),
|
||||
status: t.exposeString('status', {
|
||||
status: t.expose('status', {
|
||||
type: PaymentStatus,
|
||||
description: 'The status of the refund ticket.',
|
||||
}),
|
||||
createdAt: t.expose('createdAt', {
|
||||
|
||||
Reference in New Issue
Block a user