diff --git a/setup.ts b/setup.ts index a00cf38034..f2c1c17b16 100644 --- a/setup.ts +++ b/setup.ts @@ -10,11 +10,11 @@ async function checkConnection(url: string): Promise { console.log('\nChecking Talawa-API connection....'); let isConnected = false; await fetch(url) - .then((res) => { + .then(() => { isConnected = true; console.log('\nConnection to Talawa-API successful! 🎉'); }) - .catch((err) => { + .catch(() => { console.log( '\nTalawa-API service is unavailable. Is it running? Check your network connectivity too.' );