teidesu
6480920fde
- updated to latest develop - fixed nginx upload limit - added locale and stats patching
25 lines
1.3 KiB
Diff
25 lines
1.3 KiB
Diff
--- packages/backend/built/server/api/endpoints/stats.js
|
|
+++ packages/backend/built/server/api/endpoints/stats.js
|
|
@@ -85,8 +85,8 @@
|
|
const originalNotesCount = notesChart.local.total[0];
|
|
const usersChart = await this.usersChart.getChart('hour', 1, null);
|
|
- const usersCount = usersChart.local.total[0] + usersChart.remote.total[0];
|
|
- const originalUsersCount = usersChart.local.total[0];
|
|
+ const usersCount = 1 + usersChart.remote.total[0];
|
|
+ const originalUsersCount = 1;
|
|
const [reactionsCount, //originalReactionsCount,
|
|
instances] = await Promise.all([
|
|
this.noteReactionsRepository.count({
|
|
|
|
--- packages/backend/built/server/NodeinfoServerService.js
|
|
+++ packages/backend/built/server/NodeinfoServerService.js
|
|
@@ -58,8 +58,7 @@
|
|
const now = Date.now();
|
|
const notesChart = await this.notesChart.getChart('hour', 1, null);
|
|
const localPosts = notesChart.local.total[0];
|
|
- const usersChart = await this.usersChart.getChart('hour', 1, null);
|
|
- const total = usersChart.local.total[0];
|
|
+ const total = 1;
|
|
const [meta] = await Promise.all([
|
|
this.metaService.fetch(true)
|
|
]);
|