Filter null result
All checks were successful
Tests / sdk_tests (pull_request) Successful in 6m4s

This commit is contained in:
Thomas E Lackey 2023-11-29 22:57:48 -06:00
parent 3939b311f7
commit 97165d08a9

View File

@ -20,6 +20,8 @@ export const handler = async (argv: Arguments) => {
const registry = new Registry(gqlEndpoint, restEndpoint, chainId);
const result = await registry.resolveNames([name]);
let result = await registry.resolveNames([name]);
result = result.filter((v: any) => v);
queryOutput(result, argv.output);
}