update when message sent
This commit is contained in:
		| @ -36,7 +36,7 @@ export async function sendMessage(id, content, responseId){ | |||||||
| 		content: content, | 		content: content, | ||||||
| 		response: responseId, | 		response: responseId, | ||||||
| 	} | 	} | ||||||
| 	restPost("/discussion/" + id, data); | 	restPost("/discussion/" + id, data).then(() => fetchDiscussion(id)); | ||||||
| } | } | ||||||
|  |  | ||||||
| export async function updateDiscussionName(id, name){ | export async function updateDiscussionName(id, name){ | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user