-formatting, don't use deprecated method
This commit is contained in:
parent
93e0f26b43
commit
c919c30ef3
@ -1261,7 +1261,10 @@ async function dispatchRequestInternal<Op extends WalletApiOperation>(
|
||||
`templates/${url.templateId}`,
|
||||
url.merchantBaseUrl,
|
||||
);
|
||||
const httpReq = await ws.http.postJson(reqUrl.href, templateDetails);
|
||||
const httpReq = await ws.http.fetch(reqUrl.href, {
|
||||
method: "POST",
|
||||
body: templateDetails,
|
||||
});
|
||||
const resp = await readSuccessResponseJsonOrThrow(
|
||||
httpReq,
|
||||
codecForMerchantPostOrderResponse(),
|
||||
|
Loading…
Reference in New Issue
Block a user