mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
Removed serving primary_tag when members is enabled
no issue
- Content API v2 served primary_tag by default if members flag is enabled
- reference: b2201d4179
- it's safe to remove, because members is behind the dev flag
This commit is contained in:
parent
9d4b0c09a8
commit
377d7e4271
@ -47,6 +47,7 @@ const forPost = (attrs, frame) => {
|
|||||||
|
|
||||||
if (!origInclude || !origInclude.includes('tags')) {
|
if (!origInclude || !origInclude.includes('tags')) {
|
||||||
delete attrs.tags;
|
delete attrs.tags;
|
||||||
|
attrs.primary_tag = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user