From 9c5c3964f8bf0448e07dbc620f97d50a3aa44f9c Mon Sep 17 00:00:00 2001 From: Sergey Elpashev Date: Wed, 29 Nov 2023 19:06:04 +0300 Subject: [PATCH] Edited camelCase to kebab-case --- backend/src/modules/proxy/proxy.controller.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/src/modules/proxy/proxy.controller.ts b/backend/src/modules/proxy/proxy.controller.ts index 87e565e..82a25ea 100644 --- a/backend/src/modules/proxy/proxy.controller.ts +++ b/backend/src/modules/proxy/proxy.controller.ts @@ -9,19 +9,19 @@ export class ProxyController { constructor(private proxyService: ProxyService) {} @ApiOperation({ description: 'Method to create a new proxy user' }) - @Post('newUser') + @Post('new-user') async newUser(@Body() data: IProxyUser) { return await this.proxyService.newUser(data); } @ApiOperation({ description: 'get user by its username' }) - @Get('getUser/:userName') + @Get('get-user/:userName') async getUser(@Param('userName') userName: string) { return await this.proxyService.getUser(userName); } @ApiOperation({ description: 'get all users of proxy' }) - @Get('getAllUsers') + @Get('get-all-users') async getAllUsers() { return await this.proxyService.getAllUsers(); }