mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Fixed travis
no issue
- caused by fc73cd71bb
- breaks the content API access
This commit is contained in:
parent
fc73cd71bb
commit
2c7c72cd9f
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue