Fixed empty return
This commit is contained in:
@@ -46,7 +46,7 @@
|
|||||||
toast.dismiss();
|
toast.dismiss();
|
||||||
|
|
||||||
toast.success($_("donation-updated"));
|
toast.success($_("donation-updated"));
|
||||||
dispatch("created", { donation: response });
|
dispatch("created", { donation: result });
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
//
|
//
|
||||||
@@ -61,7 +61,7 @@
|
|||||||
//
|
//
|
||||||
toast.dismiss();
|
toast.dismiss();
|
||||||
toast.success($_("donation-updated"));
|
toast.success($_("donation-updated"));
|
||||||
dispatch("created", { donation: response });
|
dispatch("created", { donation: result });
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user