From bdd7955f8eb4109c6d2b1070881dabc6f0fad186 Mon Sep 17 00:00:00 2001 From: LarryKwon <65128957+LarryKwon@users.noreply.github.com> Date: Wed, 8 Jan 2025 19:21:42 +0900 Subject: [PATCH] detect lecture changed --- src/modules/sync/syncScholarDB.service.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/sync/syncScholarDB.service.ts b/src/modules/sync/syncScholarDB.service.ts index ec76616..cb4227c 100644 --- a/src/modules/sync/syncScholarDB.service.ts +++ b/src/modules/sync/syncScholarDB.service.ts @@ -435,7 +435,8 @@ export class SyncScholarDBService { lecture.num_classes !== newData.num_classes || lecture.num_labs !== newData.num_labs || lecture.is_english !== newData.is_english || - lecture.course_id !== newData.course_id + lecture.course_id !== newData.course_id || + lecture.new_code !== newData.code ); }