mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-14 01:45:47 +01:00
chore: use apiv3 for room rename tests
This commit is contained in:
@@ -191,7 +191,7 @@ module.exports = function (Messaging) {
|
||||
|
||||
Messaging.renameRoom = async function (uid, roomId, newName) {
|
||||
if (!newName) {
|
||||
throw new Error('[[error:invalid-name]]');
|
||||
throw new Error('[[error:invalid-data]]');
|
||||
}
|
||||
newName = newName.trim();
|
||||
if (newName.length > 75) {
|
||||
|
||||
Reference in New Issue
Block a user