瀏覽代碼

Added the necessary fields for the Assistant

victor_passos 2 年之前
父節點
當前提交
263c9bfb8b
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      js/assessment/assessment.js

+ 2 - 1
js/assessment/assessment.js

@@ -9,8 +9,9 @@ const AssessmentConfig = {
 };
 
 export class Assessment {
-  constructor (ast_code, testCases, domConsole) {
+  constructor (ast_code, exerciseType, testCases, domConsole) {
     this.ast_code = ast_code;
+    this.exerciseType = exerciseType;
     this.testCases = testCases;
     this.domConsole = domConsole;
     this.old_config = JSON.parse(JSON.stringify(Config));