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