You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Updates the conversation at the provided index for the given organization.
599
+
*
600
+
* @async
601
+
* @function editConversationForOrg
602
+
* @param {object} req - The Express request object, containing the organization shortname in `req.ctx.params.shortname` and conversation updates in `req.ctx.body`.
603
+
* @param {object} res - The Express response object.
604
+
* @param {function} next - The next middleware function.
605
+
* @returns {Promise<void>} - A promise that resolves when the response is sent.
606
+
* @description User must be the original author of the conversation or the Secretariat role.
607
+
* The original author is allowed to update the conversation message body.
608
+
* Secretariat is allowed to update the conversation message body and visibility.
609
+
* Called by PUT /api/registry/org/:shortname/conversation/:index
0 commit comments