From 390546da21e6a4707dc3ba24440d217a2a5496a7 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 12 Aug 2021 19:34:13 +0200 Subject: minor spec fix --- merchant-spec/public-orders-get.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'merchant-spec') diff --git a/merchant-spec/public-orders-get.ts b/merchant-spec/public-orders-get.ts index f9668003..ec7860b0 100644 --- a/merchant-spec/public-orders-get.ts +++ b/merchant-spec/public-orders-get.ts @@ -51,6 +51,9 @@ function handlePublicOrdersGet(mos: MerchantOrderStore, req: Req): Resp { return respNotFound(req); } if (!ord.claimed) { + if (!!req.claimToken && !!req.contractHash && ord.publicReorderUrl) { + return respGoto(req, ord.publicReorderUrl); + } if (ord.requireClaimToken && ord.claimToken !== req.claimToken) { return respForbidden(req); } -- cgit v1.2.3