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 create-oauth-app-button.tsx

Kiran K75aca8313d66
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/oauth-apps/create-oauth-app-button.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/oauth-apps/create-oauth-app-button.tsx
index e7b2f3be60..b85f176a85 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/oauth-apps/create-oauth-app-button.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/oauth-apps/create-oauth-app-button.tsx
@@ -11,7 +11,7 @@ export default function CreateOAuthAppButton() {
const { slug, role } = useWorkspace();
const { error: permissionsError } = clientAccessCheck({
- action: "webhooks.write",
+ action: "oauth_apps.write",
role: role,
});