Преглед изворни кода

fixed post call of popupcreatecontent

Skylsmoi пре 7 година
родитељ
комит
ac528c424b
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/container/PopupCreateHtmlDocument.jsx

+ 1 - 1
src/container/PopupCreateHtmlDocument.jsx Прегледај датотеку

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