[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] branch master updated: spec: fix status code
From: |
gnunet |
Subject: |
[taler-docs] branch master updated: spec: fix status code |
Date: |
Thu, 12 Aug 2021 20:57:33 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository docs.
The following commit(s) were added to refs/heads/master by this push:
new cbc5591 spec: fix status code
cbc5591 is described below
commit cbc5591bf909506aa91925a1b84e7c4701a25bbb
Author: Florian Dold <florian@dold.me>
AuthorDate: Thu Aug 12 20:57:21 2021 +0200
spec: fix status code
---
merchant-spec/public-orders-get.ts | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/merchant-spec/public-orders-get.ts
b/merchant-spec/public-orders-get.ts
index 263e29f..b3c4722 100644
--- a/merchant-spec/public-orders-get.ts
+++ b/merchant-spec/public-orders-get.ts
@@ -133,11 +133,12 @@ function respAlreadyPaid(req: Req, alreadyPaidOrd:
MerchantOrderInfo): Resp {
};
}
return {
- httpStatus: "202 Accepted",
+ httpStatus: "402 PaymentRequired",
contentType: "json",
- responseType: "StatusGotoResponse",
+ responseType: "StatusUnpaidResponse",
response: {
fulfillment_url: alreadyPaidOrd.fulfillmentUrl,
+ already_paid_order_id: alreadyPaidOrd.orderId,
},
};
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-docs] branch master updated: spec: fix status code,
gnunet <=