diff --git a/routes/spells.js b/routes/spells.js index 4774c14..f5eab72 100644 --- a/routes/spells.js +++ b/routes/spells.js @@ -299,6 +299,8 @@ const updateSpell = (s, id) => { }) } } + } else { + resolve() } }) } @@ -332,6 +334,8 @@ const updateSpell = (s, id) => { }) } } + } else { + resolve() } }) } @@ -367,6 +371,8 @@ const updateSpell = (s, id) => { }) } } + } else { + resolve() } }) }