Phase7: Void/Refund logic
Build and Push / build (push) Successful in 1m43s

This commit is contained in:
admin committed 2026-05-25 22:00:24 +02:00
1 parent e15a668f8e
commit 4f868d751e
2 files changed
+8 -2

No files matched your search

@@ -80,6 +80,9 @@ export async function POST(
{ status: 409 }
);
}
return NextResponse.json(safeError(e), { status: 500 });
return NextResponse.json(
{ error: safeError(e, "Refund failed") },
{ status: 500 }
);
}
}
@@ -69,6 +69,9 @@ export async function POST(
{ status: 409 }
);
}
return NextResponse.json(safeError(e), { status: 500 });
return NextResponse.json(
{ error: safeError(e, "Void failed") },
{ status: 500 }
);
}
}