diff --git a/backend/assets/functions/main/weatherRequest.js b/backend/assets/functions/main/weatherRequest.js index a5a0edc..ff8c543 100644 --- a/backend/assets/functions/main/weatherRequest.js +++ b/backend/assets/functions/main/weatherRequest.js @@ -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