mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 21:40:39 +03:00
Fixed travis
no issue
- caused by fc73cd71bb
- breaks the content API access
This commit is contained in:
parent
fc73cd71bb
commit
2c7c72cd9f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user