import { ArticleToAppreciationsReceivedTotalResolver } from 'definitions' ; const resolver = async ( { articleId } , _ , { dataSources : { articleService } } ) => { return articleService . sumAppreciation ( articleId ) ; } ; export default resolver ;