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.

Merge branch 'main' into improve-domains

Steven Tey6ae7493263c7
diff --cc apps/web/lib/swr/use-links.ts
index bf19a8d261,a469250fbc..46112cd18c
--- a/apps/web/lib/swr/use-links.ts
+++ b/apps/web/lib/swr/use-links.ts
@@@ -28,9 -28,14 +28,14 @@@ export default function useLinks
user: UserProps;
})[]
>(
- id
+ workspaceId
? `/api/links${getQueryString(
- { workspaceId, includeUser: "true", ...opts },
+ {
- workspaceId: id,
++ workspaceId,
+ includeUser: "true",
+ includeWebhooks: "true",
+ ...opts,
+ },
{
ignore: ["import", "upgrade", "newLink"],
},