Apply patch [skip ci]
This commit is contained in:
parent
524ef14c4a
commit
0ce689bd74
@ -65,7 +65,9 @@ export const handler = define.handlers({
|
|||||||
console.error("Error canceling auto payment:", e);
|
console.error("Error canceling auto payment:", e);
|
||||||
return new Response(
|
return new Response(
|
||||||
JSON.stringify({
|
JSON.stringify({
|
||||||
error: e instanceof Error ? e.message : "Failed to cancel auto payment",
|
error: e instanceof Error
|
||||||
|
? e.message
|
||||||
|
: "Failed to cancel auto payment",
|
||||||
}),
|
}),
|
||||||
{
|
{
|
||||||
status: 500,
|
status: 500,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user