summaryrefslogtreecommitdiff
path: root/src/api/endpoints/stats.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/endpoints/stats.ts')
-rw-r--r--src/api/endpoints/stats.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/endpoints/stats.ts b/src/api/endpoints/stats.ts
index a6084cd17a..eee6f48706 100644
--- a/src/api/endpoints/stats.ts
+++ b/src/api/endpoints/stats.ts
@@ -15,7 +15,7 @@ import User from '../models/user';
* schema:
* type: object
* properties:
- * posts_count:
+ * postsCount:
* description: count of all posts of misskey
* type: number
* users_count:
@@ -42,7 +42,7 @@ module.exports = params => new Promise(async (res, rej) => {
.count();
res({
- posts_count: postsCount,
+ postsCount: postsCount,
users_count: usersCount
});
});