more checks for collab auth token (#1345)

This commit is contained in:
Philip Okugbe
2025-07-14 02:35:03 -07:00
committed by GitHub
parent e856c8eb69
commit e51a93221c
4 changed files with 15 additions and 10 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ export class AuthController {
@AuthUser() user: User,
@AuthWorkspace() workspace: Workspace,
) {
return this.authService.getCollabToken(user.id, workspace.id);
return this.authService.getCollabToken(user, workspace.id);
}
@UseGuards(JwtAuthGuard)