Merge branch 'develop' into mkjs-n

This commit is contained in:
tamaina 2023-07-02 03:30:52 +00:00
commit fe16b16fc3
5 changed files with 7 additions and 3 deletions

View file

@ -73,7 +73,7 @@ let fetching = $ref(true);
onMounted(async () => {
const [_stats, _onlineUsersCount] = await Promise.all([
os.api('stats', {}),
os.api('get-online-users-count').then(res => res.count),
os.apiGet('get-online-users-count').then(res => res.count),
]);
stats = _stats;
onlineUsersCount = _onlineUsersCount;