From e31eb3f3e4786be2f57a6c0f1aa3bbe1ca80a3ae Mon Sep 17 00:00:00 2001 From: SileNce5k Date: Thu, 24 Oct 2024 02:19:29 +0200 Subject: [PATCH] Remove unused url variable --- util/getWeather.js | 1 - 1 file changed, 1 deletion(-) diff --git a/util/getWeather.js b/util/getWeather.js index 878f26c..96fc74c 100644 --- a/util/getWeather.js +++ b/util/getWeather.js @@ -8,7 +8,6 @@ module.exports = async function (location) { method: 'GET', timeout: 5000 } - const url = `https://wttr.in/${location}?format=4&M` // 4 = one line, M = metric wind speed let success = false; let weather = await new Promise((resolve, reject) => { https.get(options, (res) => {