perf(backend): allow get for some endpoints
This commit is contained in:
parent
1b1f82a2e2
commit
a1327fa9e1
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