diff options
Diffstat (limited to 'api')
| -rw-r--r-- | api/order.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/order.ts b/api/order.ts index 25def6d..242f7c3 100644 --- a/api/order.ts +++ b/api/order.ts @@ -45,7 +45,7 @@ async function handlePatch(request: VercelRequest, response: VercelResponse) { } else { try { const paypalResponse = await paypalCaptureOrder(id); - response.status(201).json({ + response.status(200).json({ orderId: paypalResponse.id, paypalStatus: paypalResponse.status, }); |
