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 fca1031 commit 85875f4Copy full SHA for 85875f4
.github/workflows/deploy.yml
@@ -2,7 +2,7 @@ name: Deploy Backend
2
3
on:
4
push:
5
- branches: [main]
+ branches: [deploy]
6
7
jobs:
8
build:
src/users/users.controller.ts
@@ -24,6 +24,7 @@ export class UsersController {
24
constructor(private readonly userServices: UsersService) {}
25
26
@Post('')
27
+ @UseGuards(StaffGuard)
28
async store(@Body() body) {
29
try {
30
await this.userServices.store(body);
0 commit comments