Untitled
unknown
plain_text
6 months ago
381 B
33
Indexable
console.log(updatedLikes) console.log(genre) console.log(updatedLikes[genre]) console.log(updatedLikes.educational) Error: throw new CastError('Number', val, this.path, err, this); ^ CastError: Cast to Number failed for value "NaN" (type number) at path "normalized.educational" at SchemaNumber.cast (/usr/src/app/node_modules/mongoose/lib/schema/number.js:380:11)
Editor is loading...
Leave a Comment