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:
parent
19fb14d553
commit
fac8ef4027
5 changed files with 47 additions and 32 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue