|
@@ -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 => {
|