openpodcast / api

OpenPodcast API server
https://openpodcast.dev
8 stars 2 forks source link

Add better check in case accounts map is empty #52

Closed mre closed 1 year ago

mre commented 1 year ago

Just a simple fix because an empty value would not trigger an error message before.

In case of an empty env var, the default value {} gets used, which obviously isn't empty. This leads to a scenario where no API keys get accepted.