fix unpin
This commit is contained in:
parent
495dd8d14b
commit
5b3735927a
|
@ -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(`/services/user/uploads/${skylink}`), {
|
await toast.promise(ky.delete(`/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