This commit is contained in:
Philipinho
2024-06-22 22:13:22 +01:00
parent 81be99b404
commit 562abb0413
14 changed files with 54 additions and 146 deletions

View File

@ -33,11 +33,12 @@ export class AuthController {
return this.authService.login(loginInput, req.raw.workspaceId);
}
@HttpCode(HttpStatus.OK)
/* @HttpCode(HttpStatus.OK)
@Post('register')
async register(@Req() req, @Body() createUserDto: CreateUserDto) {
return this.authService.register(createUserDto, req.raw.workspaceId);
}
*/
@UseGuards(SetupGuard)
@HttpCode(HttpStatus.OK)