fix wrong property

This commit is contained in:
Sebastian 2023-01-23 14:57:12 -03:00
parent 87c10f6c8a
commit 3348db0d5e
No known key found for this signature in database
GPG Key ID: BE4FF68352439FC1

View File

@ -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]) || "";
});