Ver código fonte

fixed post call of popupcreatecontent

Skylsmoi 5 anos atrás
pai
commit
ac528c424b
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/container/PopupCreateHtmlDocument.jsx

+ 1 - 1
src/container/PopupCreateHtmlDocument.jsx Ver arquivo

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