perf(backend): allow get for some endpoints (#92)
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
This commit is contained in:
parent
b4f720cab6
commit
65a75ecd9a
5 changed files with 7 additions and 3 deletions
|
|
@ -40,7 +40,7 @@ const { widgetProps, configure } = useWidgetPropsManager(name,
|
|||
const onlineUsersCount = ref(0);
|
||||
|
||||
const tick = () => {
|
||||
os.api('get-online-users-count').then(res => {
|
||||
os.apiGet('get-online-users-count').then(res => {
|
||||
onlineUsersCount.value = res.count;
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue