Merge branch 'v1.0' into v1
This commit is contained in:
commit
7b0e2ac85b
|
@ -554,7 +554,7 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) {
|
|||
});
|
||||
|
||||
// TODO cache permission (although the FS is already cached, NBD)
|
||||
return isThisClientAllowedToUseThisPkg(xconfx, clientUrih, pkgId).then(function (yes) {
|
||||
var promise = isThisClientAllowedToUseThisPkg(xconfx, clientUrih, pkgId).then(function (yes) {
|
||||
if (!yes) {
|
||||
notConfigured(req, res);
|
||||
return null;
|
||||
|
@ -585,6 +585,7 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) {
|
|||
});
|
||||
}
|
||||
});
|
||||
rejectableRequest(req, res, promise, "[com.daplie.walnut] load api package");
|
||||
});
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue