Fixed empty return

This commit is contained in:
Nicolai Ort 2023-05-09 16:29:41 +02:00
parent d9a47f882c
commit 6025e43baa
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F

View File

@ -46,7 +46,7 @@
toast.dismiss();
toast.success($_("donation-updated"));
dispatch("created", { donation: response });
dispatch("created", { donation: result });
})
.catch((err) => {
//
@ -61,7 +61,7 @@
//
toast.dismiss();
toast.success($_("donation-updated"));
dispatch("created", { donation: response });
dispatch("created", { donation: result });
})
.catch((err) => {
//