Bläddra i källkod

fixed post call of popupcreatecontent

Skylsmoi 8 år sedan
förälder
incheckning
ac528c424b
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/container/PopupCreateHtmlDocument.jsx

+ 1 - 1
src/container/PopupCreateHtmlDocument.jsx Visa fil

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