import { clearCookie } from 'common/utils' ; import { MutationToUserLogoutResolver } from 'definitions' ; const resolver = async ( root , args , { req , res } ) => { clearCookie ( { req , res } ) ; return true ; } ; export default resolver ;