express-joi icon indicating copy to clipboard operation
express-joi copied to clipboard

from.hasOwnProperty is not a function

Open Maks-Yaremenko opened this issue 7 years ago • 1 comments

Hello. Got an error: from.hasOwnProperty is not a function

hpqsb-1fqkkstc4q25u7uw

Possible solution is to change 'from.hasOwnProperty" to "Object.prototype.hasOwnProperty.call(from, key)" PS: Could any one say what i'm doing wrong ? thx

Maks-Yaremenko avatar Jul 23 '17 13:07 Maks-Yaremenko

app.use(express.urlencoded({extended: true}))

MaxIsComing avatar Jun 14 '22 06:06 MaxIsComing