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

Tim Wilson0f94c09c6102
diff --git a/apps/web/lib/auth/workspace.ts b/apps/web/lib/auth/workspace.ts
index d418e191d8..6a8a34839b 100644
--- a/apps/web/lib/auth/workspace.ts
+++ b/apps/web/lib/auth/workspace.ts
@@ -262,7 +262,7 @@ export const withWorkspace = (
select: {
role: true,
defaultFolderId: true,
- workspacePreferences: true,
+ workspacePreferences: !apiKey, // Hide from API
},
},
},