ja sdeljal
This commit is contained in:
@ -58,4 +58,11 @@ export class ProjectController {
|
||||
getAllSettings(@Req() req: Request & { apiToken: { id: string } }) {
|
||||
return this.projectSettingService.getAll(req.apiToken.id);
|
||||
}
|
||||
}
|
||||
|
||||
@Get("api-tokens")
|
||||
@UseGuards(AdminGuard)
|
||||
getAllApiTokens(@Req() req: Request & { apiToken: { id: string } }) {
|
||||
return this.projectService.getAllApiTokens(req.apiToken.id);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user