/api
This commit is contained in:
parent
5b3735927a
commit
09a5e4af77
|
@ -38,7 +38,7 @@ const actions = [
|
||||||
{
|
{
|
||||||
name: "Unpin Skylink",
|
name: "Unpin Skylink",
|
||||||
action: async ({ skylink }, mutate) => {
|
action: async ({ skylink }, mutate) => {
|
||||||
await toast.promise(ky.delete(`/user/uploads/${skylink}`), {
|
await toast.promise(ky.delete(`/api/user/uploads/${skylink}`), {
|
||||||
pending: "Unpinning Skylink",
|
pending: "Unpinning Skylink",
|
||||||
success: "Skylink unpinned",
|
success: "Skylink unpinned",
|
||||||
error: (error) => error.message,
|
error: (error) => error.message,
|
||||||
|
|
Reference in New Issue