The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
update error messages
Steven Tey4a39baff9a85
diff --git a/apps/web/lib/auth/publishable-key.ts b/apps/web/lib/auth/publishable-key.tsindex 4899db21f2..dae7c6b4cc 100644--- a/apps/web/lib/auth/publishable-key.ts+++ b/apps/web/lib/auth/publishable-key.ts@@ -86,8 +86,7 @@ export const withPublishableKey = (if (!workspace) {throw new DubApiError({code: "unauthorized",- message:- "Unauthorized: Workspace does not have a publishable key configured.",+ message: "Invalid publishable key.",});}@@ -103,7 +102,7 @@ export const withPublishableKey = (} else {throw new DubApiError({code: "unauthorized",- message: "Unauthorized: No publishable key provided.",+ message: "Missing publishable key.",});}} catch (error) {