From 9019a7fb224b7537ac8a45cf44e7be8369ef70e2 Mon Sep 17 00:00:00 2001 From: Igor Sikachyna Date: Wed, 17 Jan 2024 06:57:58 -0500 Subject: [PATCH] BLOCK-2071 - Fix account linking --- packages/server/src/services/blockchain/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/services/blockchain/index.ts b/packages/server/src/services/blockchain/index.ts index 7d71a19..68cfd4d 100644 --- a/packages/server/src/services/blockchain/index.ts +++ b/packages/server/src/services/blockchain/index.ts @@ -108,7 +108,7 @@ const roundRobingGetTableRows = async ({ json, code, scope, table, table_key, lo * @return {Promise} */ export async function getAccountsByKey(publicKey: string): Promise { - const { account_names } = await roundRobinHistoryGetKeyAccounts(publicKey); + const account_names = await roundRobinHistoryGetKeyAccounts(publicKey); if (account_names) return account_names; console.log(`Failed to get accounts by key from any API`); return null;