mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-26 13:48:46 +00:00
refactor: migrate admin API calls to user router
This commit is contained in:
@@ -85,7 +85,7 @@ const Invitation = ({
|
||||
userAlreadyExists,
|
||||
}: Props) => {
|
||||
const router = useRouter();
|
||||
const { data } = api.admin.getUserByToken.useQuery(
|
||||
const { data } = api.user.getUserByToken.useQuery(
|
||||
{
|
||||
token,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user