From 09a5e4af77c68a53aa51a8693cc90651fff80374 Mon Sep 17 00:00:00 2001 From: Chris Schinnerl Date: Fri, 3 Dec 2021 11:05:35 +0100 Subject: [PATCH] /api --- packages/dashboard/src/pages/uploads.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dashboard/src/pages/uploads.js b/packages/dashboard/src/pages/uploads.js index 10e07cab..4e2e2def 100644 --- a/packages/dashboard/src/pages/uploads.js +++ b/packages/dashboard/src/pages/uploads.js @@ -38,7 +38,7 @@ const actions = [ { name: "Unpin Skylink", action: async ({ skylink }, mutate) => { - await toast.promise(ky.delete(`/user/uploads/${skylink}`), { + await toast.promise(ky.delete(`/api/user/uploads/${skylink}`), { pending: "Unpinning Skylink", success: "Skylink unpinned", error: (error) => error.message,