Browse Source

fixed post call of popupcreatecontent

Skylsmoi 5 years ago
parent
commit
ac528c424b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/container/PopupCreateHtmlDocument.jsx

+ 1 - 1
src/container/PopupCreateHtmlDocument.jsx View File

@@ -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
     })