fix: Cannot call method 'setUser' of undefined

fixes https://github.com/c9/newclient/issues/10691
This commit is contained in:
Fabian Jakobs 2015-11-23 11:41:21 +00:00
parent 888ea0cfcf
commit f18077cd9b

View File

@ -61,7 +61,7 @@ function plugin(options, imports, register) {
errorClient: clients.error,
warningClient: clients.warning,
customClient: function(name) {
return client[name];
return clients[name];
},
customData: customData
}