Skip to content

Commit 56e905a

Browse files
committed
stringify all by myself... all by myself!
1 parent d59a554 commit 56e905a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/question_list.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ QuestionList.prototype.loadCounts = function (cb) {
111111
}
112112

113113
QuestionList.prototype.save = function (cb) {
114-
db.set(this.key, this, { cas: this.cas }, cb)
114+
db.set(this.key, JSON.stringify(this), { cas: this.cas }, cb)
115115
}
116116

117117
QuestionList.forUser = function (user, cb) {

0 commit comments

Comments
 (0)