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.

Update execute-award-bounty-action.ts

Kiran Ke288ebbdd7af
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 efc645ae5c..7b107a592d 100644
--- a/apps/web/lib/api/workflows/execute-award-bounty-action.ts
+++ b/apps/web/lib/api/workflows/execute-award-bounty-action.ts
@@ -1,7 +1,6 @@
import { createPartnerCommission } from "@/lib/partners/create-partner-commission";
import { WorkflowAction, WorkflowContext } from "@/lib/types";
import { prisma } from "@dub/prisma";
-import { BountySubmissionStatus } from "@dub/prisma/client";
import { createId } from "../create-id";
export const executeAwardBountyAction = async ({
@@ -93,7 +92,6 @@ export const executeAwardBountyAction = async ({
partnerId,
bountyId: bounty.id,
commissionId: commission.id,
- status: BountySubmissionStatus.approved,
},
});