Ghost/ghost/core/test/e2e-api
Fabien "egg" O'Carroll e6317e9da3 Fixed the count endpoint for the Members Comments API
refs https://github.com/TryGhost/Team/issues/1695

When a post does not have any comments we were not returning any data
from the API, which would cause issues with the comment counts helper
frontend script. This updates the endpoint to always include the count
when explicitly requesting the count for specific posts.

We've also pulled the logic out into a stats service so that the endpoint
can just refer to the controller.
2022-08-03 11:52:08 +01:00
..
admin Added free trial feature flag in labs (#15130) 2022-08-02 20:02:18 +05:30
content Added comment property to posts in Content API 2022-07-28 14:55:53 +01:00
members Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
members-comments Fixed the count endpoint for the Members Comments API 2022-08-03 11:52:08 +01:00
shared Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00