Fixed type and intended value of stubQuestions.get()
In getSkillQuestion() a call to stubQuestions.get() contained an argument with an incompatible class. Session will be converted into String using toString() but this is not what was intended to do here. In saveQuestion() the CouchDB document ID was used, but the sessions keyword should have been used instead.
Please register or sign in to comment