Update lib/Consumer.js

fix typo