mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-03 04:29:40 +00:00
fix to "set undefined path", _.each exits early if it receives false :(
:( :(
This commit is contained in:
parent
cafcde01ec
commit
65881a178e
1 changed files with 1 additions and 1 deletions
|
|
@ -352,7 +352,7 @@ module.exports =
|
|||
if _.isObject(spec) and !_.isArray(spec)
|
||||
hydrated = {}
|
||||
keys = _.keys(spec).concat(_.keys(spec.__proto__))
|
||||
_.each keys, (k) => hydrated[k] = @hydrate(spec[k])
|
||||
keys.forEach (k) => hydrated[k] = @hydrate(spec[k])
|
||||
hydrated
|
||||
else spec
|
||||
###
|
||||
|
|
|
|||
Loading…
Reference in a new issue