From 3348db0d5e7691ab1b483ec553a5193d87d7c3d9 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 23 Jan 2023 14:57:12 -0300 Subject: fix wrong property --- .../src/paths/instance/reserves/create/CreatePage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/merchant-backoffice-ui') diff --git a/packages/merchant-backoffice-ui/src/paths/instance/reserves/create/CreatePage.tsx b/packages/merchant-backoffice-ui/src/paths/instance/reserves/create/CreatePage.tsx index ad0cca74a..eeb59611c 100644 --- a/packages/merchant-backoffice-ui/src/paths/instance/reserves/create/CreatePage.tsx +++ b/packages/merchant-backoffice-ui/src/paths/instance/reserves/create/CreatePage.tsx @@ -127,7 +127,7 @@ function ViewStep({ return fetch(`${reserve.exchange_url}wire`) .then((r) => r.json()) .then((r) => { - const wireMethods = r.data.accounts.map((a: any) => { + const wireMethods = r.accounts.map((a: any) => { const match = PAYTO_WIRE_METHOD_LOOKUP.exec(a.payto_uri); return (match && match[1]) || ""; }); -- cgit v1.2.3