Fixed travis

no issue

- caused by fc73cd71bb
- breaks the content API access
This commit is contained in:
kirrg001 2019-01-18 13:05:39 +01:00
parent fc73cd71bb
commit 2c7c72cd9f

View File

@ -32,9 +32,11 @@ module.exports = function parseContext(context) {
parsed.public = false;
}
// @TODO: content & admin use `parseContext`, there is no differentiation between them.
// e.g. context.admin_api_key and context.content_api_key or context.type = admin | content
if (context && context.api_key_id) {
parsed.api_key_id = context.api_key_id;
parsed.public = false;
// parsed.public = false;
}
if (context && context.app) {