fix(support-chat): baseline legacy migration in CI
Deploy Canina / deploy (push) Failing after 1m10s
Deploy Canina / deploy (push) Failing after 1m10s
This commit is contained in:
1 parent
8795617d7f
commit
7b376f1126
2 files changed
+4
-1
No files matched your search
@@ -7,7 +7,7 @@ import { OptionalCustomerJwtGuard } from './support-chat.guard';
|
||||
export class SupportChatController {
|
||||
constructor(private readonly service: SupportChatService) {}
|
||||
@Get(':id') @UseGuards(OptionalCustomerJwtGuard) @Header('Cache-Control', 'no-store')
|
||||
history(@Param('id') id: string, @Req() req: { user?: { id: string } }) { return this.service.history(id, req.user); }
|
||||
history(@Param('id', ParseUUIDPipe) id: string, @Req() req: { user?: { id: string } }) { return this.service.history(id, req.user); }
|
||||
@Post('ask') @UseGuards(OptionalCustomerJwtGuard) @Throttle({ default: { limit: 10, ttl: 60000 } }) @Header('Cache-Control', 'no-store')
|
||||
ask(@Body() dto: SupportChatDto, @Req() req: { user?: { id: string } }) { return this.service.ask(dto, req.user); }
|
||||
}
|
||||
Reference in new issue
Block a user