fix: update import

This commit is contained in:
Derrick Hammer 2024-03-13 09:38:22 -04:00
parent 2f53b37775
commit 552bf84247
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 3 additions and 2 deletions

View File

@ -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" }
}
}