Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

format

Kiran K7f4ca77f9ef2
diff --git a/apps/web/lib/api/workflows/execute-award-bounty-action.ts b/apps/web/lib/api/workflows/execute-award-bounty-action.ts
index 1240eaa069..fdbd52c830 100644
--- a/apps/web/lib/api/workflows/execute-award-bounty-action.ts
+++ b/apps/web/lib/api/workflows/execute-award-bounty-action.ts
@@ -122,8 +122,6 @@ export const executeAwardBountyAction = async ({
}),
};
- console.log(finalContext)
-
const count = finalContext[condition.attribute] ?? 0;
// Create or update the submission
diff --git a/apps/web/lib/api/workflows/execute-workflows.ts b/apps/web/lib/api/workflows/execute-workflows.ts
index 1be84929e8..f3ff2e8831 100644
--- a/apps/web/lib/api/workflows/execute-workflows.ts
+++ b/apps/web/lib/api/workflows/execute-workflows.ts
@@ -111,7 +111,7 @@ export function evaluateWorkflowCondition({
});
const operatorFn = OPERATOR_FUNCTIONS[condition.operator];
-
+
if (!operatorFn) {
throw new Error(
`Operator ${condition.operator} is not supported in the workflow trigger condition.`,