Fix bug where folders, tables and bms-courses didn't sync

This commit is contained in:
zkldi
2022-04-04 23:52:41 +01:00
parent 2caf420d54
commit a439232f44
+3 -3
View File
@@ -196,7 +196,7 @@ const syncInstructions: SyncInstructions[] = [
},
},
{
pattern: /^folders$/u,
pattern: /^folders/u,
handler: async (
folders: FolderDocument[],
collection: ICollection<FolderDocument>,
@@ -210,12 +210,12 @@ const syncInstructions: SyncInstructions[] = [
},
},
{
pattern: /^tables$/u,
pattern: /^tables/u,
handler: (tables: TableDocument[], collection: ICollection<TableDocument>, logger) =>
GenericUpsert(tables, collection, "tableID", logger, true),
},
{
pattern: /^bms-course-lookup$/u,
pattern: /^bms-course-lookup/u,
handler: (
bmsCourseDocuments: BMSCourseDocument[],
collection: ICollection<BMSCourseDocument>,