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 process-link.ts

Steven Teye808799d81fe
diff --git a/apps/web/lib/api/links/process-link.ts b/apps/web/lib/api/links/process-link.ts
index e77b03d813..bd6dd1854a 100644
--- a/apps/web/lib/api/links/process-link.ts
+++ b/apps/web/lib/api/links/process-link.ts
@@ -276,7 +276,7 @@ export async function processLink<T extends Record<string, any>>({
if (link) {
return {
link: payload,
- error: "A link with this externalId already exists.",
+ error: "A link with this externalId already exists in this workspace.",
code: "conflict",
};
}
@@ -295,7 +295,7 @@ export async function processLink<T extends Record<string, any>>({
if (link) {
return {
link: payload,
- error: "A link with this identifier already exists.",
+ error: "A link with this identifier already exists in this workspace.",
code: "conflict",
};
}