mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-15 16:35:17 +00:00
refactor: migrate admin API calls to user router
This commit is contained in:
@@ -52,7 +52,7 @@ type AddServerDomain = z.infer<typeof addServerDomain>;
|
||||
|
||||
export const WebDomain = () => {
|
||||
const { t } = useTranslation("settings");
|
||||
const { data, refetch } = api.auth.get.useQuery();
|
||||
const { data, refetch } = api.user.get.useQuery();
|
||||
const { mutateAsync, isLoading } =
|
||||
api.settings.assignDomainServer.useMutation();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user