mirror of
https://github.com/wassname/talk.git
synced 2026-08-01 13:00:55 +08:00
editComment returns status of comment after edit. UI shows appropriate notifications if PREMOD or REJECTED
This commit is contained in:
@@ -259,6 +259,7 @@ const editComment = async ({user, loaders: {Comments}}, {id, edit}) => {
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
return {status};
|
||||
};
|
||||
|
||||
module.exports = (context) => {
|
||||
|
||||
Reference in New Issue
Block a user