Weather used wrong logger
This commit is contained in:
parent
ce3621680a
commit
bf5a5e817a
@ -1,7 +1,6 @@
|
|||||||
const Client = require('request-json');
|
const Client = require('request-json');
|
||||||
|
|
||||||
const { log4js } = require('./lib/logger');
|
const logger = require('log4js').getLogger('Weather');
|
||||||
const logger = log4js.getLogger('Weather');
|
|
||||||
const weather = require('openweather-apis');
|
const weather = require('openweather-apis');
|
||||||
const { reduceWeather } = require('./reducers/weather');
|
const { reduceWeather } = require('./reducers/weather');
|
||||||
const request = require('request');
|
const request = require('request');
|
||||||
|
Loading…
Reference in New Issue
Block a user