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:
kirrg001 2019-02-24 11:54:04 +01:00
parent 9d4b0c09a8
commit 377d7e4271

View File

@ -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;
} }
} }