Update index.js

Human errors :)
This commit is contained in:
fallenpeace 2015-12-18 16:23:36 -08:00
parent 501c577fe3
commit a63ea36a20

View File

@ -202,7 +202,7 @@ module.exports = function (strapi) {
appId: strapi.config.studio.appId, appId: strapi.config.studio.appId,
token: strapi.token, token: strapi.token,
encrypted: strapi.rsa.encrypt({ encrypted: strapi.rsa.encrypt({
err: stringify('Unknow action', null, 2), err: stringify('Unknown action', null, 2),
data: null data: null
}) })
}); });
@ -250,7 +250,7 @@ module.exports = function (strapi) {
appId: strapi.config.studio.appId, appId: strapi.config.studio.appId,
token: strapi.token, token: strapi.token,
encrypted: strapi.rsa.encrypt({ encrypted: strapi.rsa.encrypt({
err: stringify('Unknow action', null, 2), err: stringify('Unknown action', null, 2),
data: null data: null
}) })
}); });
@ -364,7 +364,7 @@ module.exports = function (strapi) {
} }
}); });
} else { } else {
cb('Unknow path `' + rootPath + '`', null); cb('Unknown path `' + rootPath + '`', null);
} }
}); });
}, },
@ -410,7 +410,7 @@ module.exports = function (strapi) {
} }
}); });
} else { } else {
deferred.reject('Unknow path `' + path + '`'); deferred.reject('Unknown path `' + path + '`');
} }
}); });