import { Resolvers } from "../../../types/resolvers" ; import privateResolver from "../../../utils/privateResolver" ; const resolvers = { Query : { GetMyProfile : privateResolver ( async ( _ , __ , { req } ) => { const { user } = req ; return { ok : true , error : null , user } ; } ) } } ; export default resolvers ;