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.
2 parents 08c1a0e + 7e1667b commit afe7b6fCopy full SHA for afe7b6f
src/api/ai-workflow/ai-workflow.service.ts
@@ -469,7 +469,7 @@ export class AiWorkflowService {
469
memberRoles.some(
470
(r) => r.roleName?.toLowerCase() === UserRole.Submitter.toLowerCase(),
471
) &&
472
- user.userId !== submission?.memberId
+ user.userId?.toString() !== submission?.memberId
473
) {
474
this.logger.log(
475
`Submitter ${user.userId} trying to access AI workflow run for other submitters.`,
0 commit comments