Skip to content

Commit afe7b6f

Browse files
committed
Merge branch 'develop' into pm-1792
2 parents 08c1a0e + 7e1667b commit afe7b6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/ai-workflow/ai-workflow.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ export class AiWorkflowService {
469469
memberRoles.some(
470470
(r) => r.roleName?.toLowerCase() === UserRole.Submitter.toLowerCase(),
471471
) &&
472-
user.userId !== submission?.memberId
472+
user.userId?.toString() !== submission?.memberId
473473
) {
474474
this.logger.log(
475475
`Submitter ${user.userId} trying to access AI workflow run for other submitters.`,

0 commit comments

Comments
 (0)