mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 05:55:48 +01:00
widget tests
This commit is contained in:
@@ -120,7 +120,7 @@ SocketAdmin.plugins.upgrade = function (socket, data, callback) {
|
||||
};
|
||||
|
||||
SocketAdmin.widgets.set = function (socket, data, callback) {
|
||||
if(!data) {
|
||||
if (!data) {
|
||||
return callback(new Error('[[error:invalid-data]]'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user