diff --git a/src/utils/monitoring.ts b/src/utils/monitoring.ts index 5d2990e..ac549ca 100644 --- a/src/utils/monitoring.ts +++ b/src/utils/monitoring.ts @@ -183,7 +183,7 @@ export const getAccountIdentity = async ( : [null, null]; identityCache[account] = { lastUpdate: Date.now(), - identity: identity[0], + identity: identity?.[0], superOf: superOfIdentity && ("info" in superOfIdentity ? superOfIdentity : superOfIdentity[0]), };