Browse Source

fixed thread creation

Skylsmoi 6 years ago
parent
commit
01cb4cc702
1 changed files with 2 additions and 2 deletions
  1. 2 2
      frontend_app_thread/src/container/PopupCreateThread.jsx

+ 2 - 2
frontend_app_thread/src/container/PopupCreateThread.jsx View File

88
   })
88
   })
89
 
89
 
90
   handleValidate = async () => {
90
   handleValidate = async () => {
91
-    const { config, appName, idWorkspace, idFolder, newContentName } = this.state
91
+    const { loggedUser, config, appName, idWorkspace, idFolder, newContentName } = this.state
92
 
92
 
93
-    const fetchSaveThreadDoc = postThreadContent(config.apiUrl, idWorkspace, idFolder, config.slug, newContentName)
93
+    const fetchSaveThreadDoc = postThreadContent(loggedUser, config.apiUrl, idWorkspace, idFolder, config.slug, newContentName)
94
 
94
 
95
     handleFetchResult(await fetchSaveThreadDoc)
95
     handleFetchResult(await fetchSaveThreadDoc)
96
       .then(resSave => {
96
       .then(resSave => {