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.
1 parent 4232096 commit 7c43a86Copy full SHA for 7c43a86
apps/webapp/app/runEngine/validators/triggerTaskValidator.ts
@@ -46,7 +46,7 @@ export class DefaultTriggerTaskValidator implements TriggerTaskValidator {
46
47
const result = await getEntitlement(environment.organizationId);
48
49
- if (!result || result.hasAccess === false) {
+ if (result && result.hasAccess === false) {
50
return {
51
ok: false,
52
error: new OutOfEntitlementError(),
0 commit comments