Skip to content

Commit 672fee0

Browse files
committed
Fixed endpoint response fields
1 parent 7b0b5b5 commit 672fee0

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

ghost/core/core/server/services/stats/StatsService.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,8 @@ class StatsService {
6767
* @param {string} postId
6868
*/
6969
async getPostReferrersAlpha(postId, options) {
70-
return {
71-
data: await this.posts.getForPostAlpha(postId, options),
72-
meta: {}
73-
};
70+
const result = await this.posts.getForPostAlpha(postId, options);
71+
return result;
7472
}
7573

7674
/**

0 commit comments

Comments
 (0)