diff --git a/index.js b/index.js index f5f099e..5b78c38 100644 --- a/index.js +++ b/index.js @@ -38,7 +38,7 @@ const DAYS_OFF_API_ENDPOINT = "https://date.nager.at" async function fetchDaysOffPerCountry(country) { - if (country) { + if (!country) { return null; }