peterjmartinson/PengoBot

User enters a bad number

Closed this issue · 1 comments

Currently, there are 70 quotes. If user enters 80 the app crashes. Validate user entered number against actual possibilities. Need to count DB documents, as in getQuote.atRandom

Solved at line 23 in getQuote.js - Quote.count(...