Skip to content

Commit

Permalink
Fix undefined readExternal fn
Browse files Browse the repository at this point in the history
  • Loading branch information
vkulinich-cl committed Jul 1, 2024
1 parent 6752cea commit dee8b5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/apps/src/utils/external.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function configureExternal(
isTestnet: boolean,
configService: ConfigService,
) {
readExternal(isTestnet).forEach((ext) => {
readExternal(isTestnet)?.forEach((ext) => {
if (ext.origin === 1000 && !defaultExternals.includes(ext.id)) {
const assetData = buildAssetData(ext, '_ah_');
console.log('💀 Registering ' + assetData.asset.key);
Expand Down

0 comments on commit dee8b5e

Please sign in to comment.