浏览代码

fixed post call of popupcreatecontent

Skylsmoi 6 年前
父节点
当前提交
ac528c424b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/container/PopupCreateHtmlDocument.jsx

+ 1 - 1
src/container/PopupCreateHtmlDocument.jsx 查看文件

@@ -61,7 +61,7 @@ class PopupCreateHtmlDocument extends React.Component {
61 61
       method: 'POST',
62 62
       body: JSON.stringify({
63 63
         parent_id: this.state.idFolder,
64
-        content_type_slug: this.state.config.slug,
64
+        content_type: this.state.config.slug,
65 65
         label: this.state.newContentName
66 66
       })
67 67
     })