import _ from 'lodash' ; import logger from 'common/logger' ; import { LikerToRateUSDResolver } from 'definitions' ; const resolver = async ( { id } , __ , { dataSources : { userService } } ) => { try { const price = await userService . likecoin . rate ( ) ; return price ; } catch ( e ) { logger . error ( e ) ; return null ; } } ; export default resolver ;