backend: Hotfiix next not defined weatherRequest

This commit is contained in:
Divlo 2020-03-20 11:49:45 +01:00
parent a605b781f4
commit ccfa35d24e

View File

@ -20,7 +20,7 @@ const queue = new Queue({
});
/* OUTPUTS */
exports.weatherRequestOutput = async (res, argsObject) => {
exports.weatherRequestOutput = async ({ res, next }, argsObject) => {
let { cityName } = argsObject;
// S'il n'y a pas les champs obligatoire