update verify cash payment
This commit is contained in:
@@ -120,7 +120,7 @@ export class PaymentsController {
|
|||||||
@ApiOperation({ summary: 'Verify cash payment ' })
|
@ApiOperation({ summary: 'Verify cash payment ' })
|
||||||
@ApiParam({ name: 'paymentId', type: 'string', description: 'Payment ID' })
|
@ApiParam({ name: 'paymentId', type: 'string', description: 'Payment ID' })
|
||||||
verifyCashPayment(@Param('paymentId') paymentId: string) {
|
verifyCashPayment(@Param('paymentId') paymentId: string) {
|
||||||
return this.paymentMethodService.remove(paymentId);
|
return this.paymentsService.verifyCashPayment(paymentId);
|
||||||
}
|
}
|
||||||
|
|
||||||
@UseGuards(AdminAuthGuard)
|
@UseGuards(AdminAuthGuard)
|
||||||
|
|||||||
Reference in New Issue
Block a user