From edb4622684d534c5f2fce04b97fa837c141de782 Mon Sep 17 00:00:00 2001 From: Gabriel Amorim Date: Fri, 5 May 2023 12:13:55 -0300 Subject: [PATCH] FIX: remove permission to get customer links --- src/modules/customers/customers.controller.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/modules/customers/customers.controller.ts b/src/modules/customers/customers.controller.ts index e69d331..fa98530 100644 --- a/src/modules/customers/customers.controller.ts +++ b/src/modules/customers/customers.controller.ts @@ -37,7 +37,6 @@ export class CustomersController { } @Get(':id/links') - @RequireAllPermissions(PERMISSIONS_GROUPS.USERS.permissions.ADMIN) async getCustomerLinks(@Param('id') id): Promise { this.logger.info('getCustomerLinks', { id }); const links = await this.customersService.getLinks(id);