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