backend: Hotfiix next not defined weatherRequest

This commit is contained in:
Divlo committed 2020-03-20 11:49:45 +01:00
1 parent a605b781f4
commit ccfa35d24e
1 file changed
+1 -1
@@ -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