mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-22 11:58:46 +00:00
refactor: migrate admin API calls to user router
This commit is contained in:
@@ -62,7 +62,7 @@ export const AddUserPermissions = ({ userId }: Props) => {
|
||||
);
|
||||
|
||||
const { mutateAsync, isError, error, isLoading } =
|
||||
api.admin.assignPermissions.useMutation();
|
||||
api.user.assignPermissions.useMutation();
|
||||
|
||||
const form = useForm<AddPermissions>({
|
||||
defaultValues: {
|
||||
|
||||
Reference in New Issue
Block a user