mirror of
https://github.com/umami-software/umami.git
synced 2026-02-11 08:07:12 +01:00
Created admin API endpoints.
This commit is contained in:
parent
e1c65cdf2a
commit
442ad61779
8 changed files with 133 additions and 49 deletions
|
|
@ -11,7 +11,7 @@ export function UsersDataTable() {
|
|||
const modified = useCache((state: any) => state?.users);
|
||||
const queryResult = useFilterQuery({
|
||||
queryKey: ['users', { modified }],
|
||||
queryFn: (params: { [key: string]: any }) => get(`/users`, params),
|
||||
queryFn: (params: { [key: string]: any }) => get(`/admin/users`, params),
|
||||
});
|
||||
|
||||
return (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue