- [API] Fixed an always pending promise in update spells

This commit is contained in:
Alexis
2020-05-21 22:50:57 +02:00
parent 65acd9b7e9
commit 5ce6250f00

View File

@@ -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()
} }
}) })
} }