Skip to content

Commit

Permalink
start handler for tenant
Browse files Browse the repository at this point in the history
  • Loading branch information
gpalade committed Nov 2, 2023
1 parent 796fad2 commit e172216
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gql-bff/src/features/workflow/resolvers.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const workflowResolvers = {

const wfTenantId = getTenantIdFromDescription(workflow?.description);
if (userCanSeeResource(wfTenantId, tenant?.id)) {
return workflow;
return { ...workflow, startHandlers };
} else
return new ForbiddenError(
"You are not authorized to see this workflow."
Expand Down

0 comments on commit e172216

Please sign in to comment.