From 5c5dca9b6d4a0adc3497270415d2086c3502831e Mon Sep 17 00:00:00 2001 From: Miguel Fernandez Date: Tue, 8 Dec 2020 02:36:34 +0100 Subject: [PATCH] update fucntion --- api/outlet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/outlet.js b/api/outlet.js index 578815e..9414745 100644 --- a/api/outlet.js +++ b/api/outlet.js @@ -4,7 +4,7 @@ async function Season(){ var item = ""; for(let i in data.data.items){ if(data.data.items[i].season == "SPRING_SUMMER"){ - item += data.data.items[i]; + item = data.data.items[i]; } } return item;