Explorar el Código

fixed post call of popupcreatecontent

Skylsmoi hace 8 años
padre
commit
ac528c424b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/container/PopupCreateHtmlDocument.jsx

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

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