diff --git a/ui/litellm-dashboard/src/app/(dashboard)/hooks/configOverrides/useUpdateHashicorpVaultConfig.ts b/ui/litellm-dashboard/src/app/(dashboard)/hooks/configOverrides/useUpdateHashicorpVaultConfig.ts index 2062c7144c5..cea447c4908 100644 --- a/ui/litellm-dashboard/src/app/(dashboard)/hooks/configOverrides/useUpdateHashicorpVaultConfig.ts +++ b/ui/litellm-dashboard/src/app/(dashboard)/hooks/configOverrides/useUpdateHashicorpVaultConfig.ts @@ -4,7 +4,7 @@ import { createQueryKeys } from "../common/queryKeysFactory"; const hashicorpVaultKeys = createQueryKeys("hashicorpVaultConfig"); -export const useUpdateHashicorpVaultConfig = (accessToken: string) => { +export const useUpdateHashicorpVaultConfig = (accessToken: string | null) => { const queryClient = useQueryClient(); return useMutation({