1
0
forked from PGL/Clyde

update when message sent

This commit is contained in:
Debucquoy Anthony 2024-03-29 14:31:08 +01:00
parent 2bdffe6ab4
commit 1c61a356a4
Signed by: tonitch
GPG Key ID: A78D6421F083D42E

View File

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