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 set-rewardful-token.ts

Kiran K496bb59db161
diff --git a/apps/web/lib/actions/partners/set-rewardful-token.ts b/apps/web/lib/actions/partners/set-rewardful-token.ts
index 0afc6db26a..753f96b9fc 100644
--- a/apps/web/lib/actions/partners/set-rewardful-token.ts
+++ b/apps/web/lib/actions/partners/set-rewardful-token.ts
@@ -13,7 +13,7 @@ const schema = z.object({
export const setRewardfulTokenAction = authActionClient
.schema(schema)
.action(async ({ parsedInput, ctx }) => {
- const { workspace, user } = ctx;
+ const { workspace } = ctx;
const { token } = parsedInput;
if (!workspace.partnersEnabled) {