This commit is contained in:
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 }
|
{ 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 }
|
{ status: 409 }
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return NextResponse.json(safeError(e), { status: 500 });
|
return NextResponse.json(
|
||||||
|
{ error: safeError(e, "Void failed") },
|
||||||
|
{ status: 500 }
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user