We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45d6909 commit 81aeaadCopy full SHA for 81aeaad
src/partner/partner.controller.ts
@@ -48,12 +48,12 @@ export class PartnerController {
48
@ApiBearerAuth('access-token')
49
@UseGuards(SuperAdminAuthGuard)
50
@Patch(':id')
51
- @ApiOperation({ description: 'Update a partner profile and makes partnerAccess inactive' })
+ @ApiOperation({ description: 'Update a partner profile and makes partner active or inactive' })
52
@ApiBody({ type: DeletePartnerDto })
53
- async deletePartner(
+ async updatePartner(
54
@Param() { id },
55
- @Body() deletePartnerDto: UpdatePartnerDto,
+ @Body() updatePartnerDto: UpdatePartnerDto,
56
) {
57
- return this.partnerService.updatePartner(id, deletePartnerDto);
+ return this.partnerService.updatePartner(id, updatePartnerDto);
58
}
59
0 commit comments