From b358796c046ed5d7d892b73ea6df7bac57ba8310 Mon Sep 17 00:00:00 2001 From: minie4 Date: Wed, 4 May 2022 14:35:46 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20substitutions=20spanning?= =?UTF-8?q?=20over=20lessons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/parser/untis.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/parser/untis.js b/server/parser/untis.js index 73fb949..bc3fbef 100644 --- a/server/parser/untis.js +++ b/server/parser/untis.js @@ -62,7 +62,7 @@ export function parseSubstitutionPlan(html) { const lessons = rawLesson.match(/\d+/g).map(Number); for (const lesson of lessons) { rowData.lesson = lesson; - data.push(rowData); + data.push({ ...rowData }); } });