import { MutationToUnpinCommentResolver } from 'definitions' ; import togglePinCommentResolver from './togglePinComment' ; const resolver = async ( parent , { input : { id } } , ... rest ) => { return togglePinCommentResolver ( parent , { input : { id , enabled : false } } , ... rest ) ; } ; export default resolver ;