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

Kiran Kb97a74c754b2
diff --git a/apps/web/app/(ee)/api/groups/route.ts b/apps/web/app/(ee)/api/groups/route.ts
index f9d307623a..6fdbf9a67e 100644
--- a/apps/web/app/(ee)/api/groups/route.ts
+++ b/apps/web/app/(ee)/api/groups/route.ts
@@ -30,7 +30,7 @@ export const GET = withWorkspace(
return NextResponse.json(z.array(GroupSchemaExtended).parse(groups));
},
{
- requiredPermissions: ["groups.write"],
+ requiredPermissions: ["groups.read"],
requiredPlan: [
"business",
"business extra",