mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-18 16:20:47 +02:00
uid can be group names :dull:
This commit is contained in:
@@ -44,7 +44,7 @@ module.exports = function(Groups) {
|
||||
|
||||
callback = callback || function() {};
|
||||
|
||||
if (!groupName || !parseInt(uid, 10)) {
|
||||
if (!groupName) {
|
||||
return callback(new Error('[[error:invalid-data]]'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user