diff --git a/002_source/pocketbase/pb_hooks/seed/041_QuizCRQuestions.js b/002_source/pocketbase/pb_hooks/seed/041_QuizCRQuestions.js index 863486a..3b314c9 100644 --- a/002_source/pocketbase/pb_hooks/seed/041_QuizCRQuestions.js +++ b/002_source/pocketbase/pb_hooks/seed/041_QuizCRQuestions.js @@ -11,7 +11,7 @@ module.exports = ($app) => { "news (CR)", getAsset("ci_news.jpg"), 1, - {}, + ["A", "B", "C"], "visible", "news", getAsset("keyboard.mp3"), @@ -20,14 +20,14 @@ module.exports = ($app) => { "question_sh_1", "modal_ans_1", cat_id_technology, - {}, + ["A", "B", "C"], ], [ getId("2"), "sports (CR)", getAsset("ci_sports.jpg"), 2, - {}, + ["A", "B", "C"], "visible", "sports", getAsset("mouse.mp3"), @@ -36,14 +36,14 @@ module.exports = ($app) => { "question_sh_2", "modal_ans_2", cat_id_technology, - {}, + ["A", "B", "C"], ], [ getId("3"), "technology (CR)", getAsset("ci_technology.jpg"), 3, - {}, + ["A", "B", "C"], "visible", "technology", getAsset("keyboard.mp3"), @@ -52,14 +52,14 @@ module.exports = ($app) => { "question_sh_3", "modal_ans_3", cat_id_technology, - {}, + ["A", "B", "C"], ], [ getId("4"), "art (CR)", getAsset("ci_art.jpg"), 4, - {}, + ["A", "B", "C"], "visible", "art", getAsset("mouse.mp3"), @@ -68,14 +68,14 @@ module.exports = ($app) => { "question_sh_4", "modal_ans_4", cat_id_technology, - {}, + ["A", "B", "C"], ], [ getId("5"), "basic (CR)", getAsset("ci_basic.jpg"), 5, - {}, + ["A", "B", "C"], "visible", "basic", getAsset("keyboard.mp3"), @@ -84,14 +84,14 @@ module.exports = ($app) => { "question_sh_5", "modal_ans_5", cat_id_technology, - {}, + ["A", "B", "C"], ], [ getId("6"), "nature (CR)", getAsset("ci_nature.jpg"), 6, - {}, + ["A", "B", "C"], "visible", "nature", getAsset("keyboard.mp3"), @@ -100,14 +100,14 @@ module.exports = ($app) => { "question_sh_6", "modal_ans_6", cat_id_technology, - {}, + ["A", "B", "C"], ], [ getId("7"), "workplace (CR)", getAsset("ci_workplace.jpg"), 7, - {}, + ["A", "B", "C"], "visible", "workplace", getAsset("keyboard.mp3"), @@ -116,14 +116,14 @@ module.exports = ($app) => { "question_sh_7", "modal_ans_7", cat_id_technology, - {}, + ["A", "B", "C"], ], [ getId("8"), "workplace (CR)", getAsset("ci_workplace.jpg"), 8, - {}, + ["A", "B", "C"], "visible", "workplace", getAsset("keyboard.mp3"), @@ -132,14 +132,14 @@ module.exports = ($app) => { "question_sh_8", "modal_ans_8", cat_id_technology, - {}, + ["A", "B", "C"], ], [ getId("99"), "test hidden (CR)", getAsset("ci_workplace.jpg"), 9, - {}, + ["A", "B", "C"], "hidden", "test", getAsset("keyboard.mp3"), @@ -148,7 +148,7 @@ module.exports = ($app) => { "question_sh_9", "modal_ans_9", cat_id_technology, - {}, + ["A", "B", "C"], ], ]; dirtyTruncateTable("QuizCRQuestions"); @@ -171,7 +171,7 @@ module.exports = ($app) => { record.set("question_fh", lesson_type[9]); record.set("question_sh", lesson_type[10]); record.set("modal_ans", lesson_type[11]); - record.set("caf_id", lesson_type[12]); + record.set("cat_id", lesson_type[12]); record.set("options", lesson_type[13]); $app.save(record);