1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-08-02 17:35:17 +02:00

Pushed version 2.2.1

This commit is contained in:
Paweł Malak 2022-01-08 14:03:10 +01:00
parent 19fb14d553
commit fac8ef4027
5 changed files with 47 additions and 32 deletions

View file

@ -8,9 +8,8 @@ const logger = new Logger();
module.exports = async function () {
const { WEATHER_API_KEY } = await loadConfig();
const FEAT_WHEATHER_ENABLED = WEATHER_API_KEY != '';
if (FEAT_WHEATHER_ENABLED) {
if (WEATHER_API_KEY != '') {
// Update weather data every 15 minutes
const weatherJob = schedule.scheduleJob(
'updateWeather',