Explorar el Código

fixed thread creation

Skylsmoi hace 5 años
padre
commit
01cb4cc702
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      frontend_app_thread/src/container/PopupCreateThread.jsx

+ 2 - 2
frontend_app_thread/src/container/PopupCreateThread.jsx Ver fichero

@@ -88,9 +88,9 @@ class PopupCreateThread extends React.Component {
88 88
   })
89 89
 
90 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 95
     handleFetchResult(await fetchSaveThreadDoc)
96 96
       .then(resSave => {