瀏覽代碼

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

To avoid 500 error.
Romain Rigaux 9 年之前
父節點
當前提交
25ae9a472d
共有 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
       };
     };