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