From 2019d8535b51dc4ebb11c55874c5fdc3c050c337 Mon Sep 17 00:00:00 2001 From: John Peterson Date: Tue, 8 Oct 2024 14:18:28 -0400 Subject: [PATCH] fix: Make register-basename.js Quickstart Template Executable --- quickstart-template/register-basename.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quickstart-template/register-basename.js b/quickstart-template/register-basename.js index e95b6c49..4025bcac 100644 --- a/quickstart-template/register-basename.js +++ b/quickstart-template/register-basename.js @@ -145,7 +145,7 @@ async function fetchWalletAndLoadSeed(walletId, seedFilePath) { } } -async () => { +(async () => { try { const { BASE_NAME, WALLET_ID, SEED_FILE_PATH } = process.env; @@ -165,4 +165,4 @@ async () => { } catch (error) { console.error(`Error in registering a Basename for my wallet: `, error); } -}; +})();