File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ export function getTopicPosts(topicId, postIds) {
4545}
4646
4747export function createTopic ( topicProps ) {
48- return axios . post ( `${ TC_API_URL } /v4/topics/` , topicProps )
48+ return axios . post ( `${ TC_API_URL } /v4/topics/` , topicProps , { timeout : 1.5 * 60 * 1000 } )
4949 . then ( resp => {
5050 return _ . get ( resp . data , 'result.content' , { } )
5151 } )
@@ -54,7 +54,7 @@ export function createTopic(topicProps) {
5454// ignore resp
5555/*eslint-disable no-unused-vars */
5656export function addTopicPost ( topicId , post ) {
57- return axios . post ( `${ TC_API_URL } /v4/topics/${ topicId } /posts` , { post : post . content } )
57+ return axios . post ( `${ TC_API_URL } /v4/topics/${ topicId } /posts` , { post : post . content } , { timeout : 1.5 * 60 * 1000 } )
5858 . then ( resp => {
5959 return {
6060 topicId,
You can’t perform that action at this time.
0 commit comments