This commit is contained in:
syuilo 2018-10-21 09:20:11 +09:00
parent aa50d0ee11
commit 969b6dbcad
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
14 changed files with 584 additions and 420 deletions

View file

@ -7,7 +7,7 @@ import generateUserToken from '../common/generate-native-user-token';
import config from '../../../config';
import Meta from '../../../models/meta';
import RegistrationTicket from '../../../models/registration-tickets';
import { coreChart } from '../../../services/stats';
import { usersChart } from '../../../services/stats';
if (config.recaptcha) {
recaptcha.init({
@ -130,7 +130,7 @@ export default async (ctx: Koa.Context) => {
}, { upsert: true });
//#endregion
coreChart.updateUserStats(account, true);
usersChart.update(account, true);
const res = await pack(account, account, {
detail: true,