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;