Handle sdk and cli clients just like the webadmin

This commit is contained in:
Johannes Zellner
2016-06-08 11:33:08 +02:00
parent 3c3de6205e
commit a69cd204d6
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -157,8 +157,8 @@ function getAll(callback) {
var tmp = [];
async.each(results, function (record, callback) {
if (record.type === exports.TYPE_ADMIN) {
record.name = constants.ADMIN_NAME;
if (record.type === exports.TYPE_ADMIN || record.type === exports.TYPE_SDK || record.type === exports.TYPE_CLI) {
record.name = record.appid;
record.location = constants.ADMIN_LOCATION;
tmp.push(record);