From 552bf84247a4e7110521b246e7b90d5191917e8c Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 13 Mar 2024 09:38:22 -0400 Subject: [PATCH] fix: update import --- app/data/auth-provider.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/data/auth-provider.ts b/app/data/auth-provider.ts index a4572b6..125e741 100644 --- a/app/data/auth-provider.ts +++ b/app/data/auth-provider.ts @@ -3,7 +3,8 @@ import type { AuthActionResponse, CheckResponse, OnErrorResponse -} from "@refinedev/core/dist/interfaces" + // @ts-ignore +} from "@refinedev/core/dist/interfaces/bindings/auth" export const authProvider: AuthProvider = { login: async (params: any) => { @@ -30,7 +31,7 @@ export const authProvider: AuthProvider = { getPermissions: async (params: any) => { return { success: true } satisfies AuthActionResponse }, - getIdentity: async (params: any) => { + getIdentity: async (params: any) => { return { id: "1", fullName: "John Doe", avatar: "https://via.placeholder.com/150" } } }