浏览代码

HUE-3456 [notebook] Send notebook type when executing snippets

To avoid 500 error.
Romain Rigaux 9 年之前
父节点
当前提交
25ae9a4
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      desktop/libs/notebook/src/notebook/static/notebook/js/notebook.ko.js

+ 2 - 1
desktop/libs/notebook/src/notebook/static/notebook/js/notebook.ko.js

@@ -1140,7 +1140,8 @@
      return {
          id: self.id,
          uuid: self.uuid,
-         sessions: self.sessions
+         sessions: self.sessions,
+         type: self.type
       };
     };