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.

Bump next-axiom

Steven Tey054cf797e3dd
diff --git a/apps/web/lib/folder/get-folder-or-throw.ts b/apps/web/lib/folder/get-folder-or-throw.ts
index a4a9ef10d7..190418a5e7 100644
--- a/apps/web/lib/folder/get-folder-or-throw.ts
+++ b/apps/web/lib/folder/get-folder-or-throw.ts
@@ -39,7 +39,10 @@ export const getFolderOrThrow = async ({
}
if (folder.projectId !== workspaceId) {
- throw new Error("Folder does not belong to the workspace.");
+ throw new DubApiError({
+ code: "not_found",
+ message: "Folder does not belong to the workspace.",
+ });
}
return {
diff --git a/apps/web/package.json b/apps/web/package.json
index 1535c645be..c5705bf13b 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -87,7 +87,7 @@
"nanoid": "^5.0.1",
"next": "14.3.0-canary.42",
"next-auth": "^4.24.4",
- "next-axiom": "^1.6.0",
+ "next-axiom": "^1.9.1",
"next-plausible": "^3.12.0",
"next-safe-action": "7.9.9",
"node-html-parser": "^6.1.4",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 2e371eb4cc..3040a4c70a 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -250,8 +250,8 @@ importers:
specifier: ^4.24.4
next-axiom:
- specifier: ^1.6.0
+ specifier: ^1.9.1
next-plausible:
specifier: ^3.12.0
@@ -8870,8 +8870,8 @@ packages:
nodemailer:
optional: true
- resolution: {integrity: sha512-kdquFyc8jE+2ZYwdwG9fkctLpvVOBZXjSNj6WR3tNmmH6oCZo8ktKiZoJBi8gjCKPBGu5Lce1GexZ55Pkeb62Q==}
+ resolution: {integrity: sha512-aSvfZHtGlcaSAGf+5IFTEgDIvqFaHkCUoFu9sNCy5bc8NxEl1v6cYhPZ54X0W9OQ9FyPRiHeD4DjxM/3p3yVRw==}
engines: {node: '>=18'}
peerDependencies:
next: '>=14.0'
@@ -21707,7 +21707,7 @@ snapshots:
optionalDependencies:
nodemailer: 6.9.3
dependencies:
react: 18.2.0