Przeglądaj źródła

fixed post call of popupcreatecontent

Skylsmoi 6 lat temu
rodzic
commit
ac528c424b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/container/PopupCreateHtmlDocument.jsx

+ 1 - 1
src/container/PopupCreateHtmlDocument.jsx Wyświetl plik

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