Browse Source

Fix invalid error handlement

main
anthony 4 years ago
parent
commit
67fa543716
  1. 2
      index.js

2
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;
}

Loading…
Cancel
Save