From ccfa35d24e013472b57b4daecfd8ab31ac3a20f7 Mon Sep 17 00:00:00 2001 From: Divlo Date: Fri, 20 Mar 2020 11:49:45 +0100 Subject: [PATCH] backend: Hotfiix next not defined weatherRequest --- backend/assets/functions/main/weatherRequest.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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