diff --git a/src/authz-module/data/hooks.ts b/src/authz-module/data/hooks.ts index 9af0374..658f548 100644 --- a/src/authz-module/data/hooks.ts +++ b/src/authz-module/data/hooks.ts @@ -37,7 +37,7 @@ export const useTeamMembers = (object: string) => useQuery( * * @example * ```tsx - * const { data: roles, isLoading, isError } = useTeamMembers('lib:123'); + * const { data: roles } = usePermissionsByRole('lib:123'); * ``` */ export const usePermissionsByRole = (scope: string) => useSuspenseQuery({