Phase7: Void/Refund logic
All checks were successful
Build and Push / build (push) Successful in 1m43s
All checks were successful
Build and Push / build (push) Successful in 1m43s
This commit is contained in:
@@ -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 }
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user