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 route.ts

Steven Tey3cf7d7c46c1a
diff --git a/apps/web/app/api/domains/count/route.ts b/apps/web/app/api/domains/count/route.ts
index fe32a223e1..855861f49a 100644
--- a/apps/web/app/api/domains/count/route.ts
+++ b/apps/web/app/api/domains/count/route.ts
@@ -21,6 +21,6 @@ export const GET = withWorkspace(
});
},
{
- requiredScopes: ["domains.read"],
+ requiredPermissions: ["domains.read"],
},
);