mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-18 09:52:20 +00:00
fix(hall): mark items modified
This commit is contained in:
parent
1ade4c6b3e
commit
987b6949c9
1 changed files with 1 additions and 0 deletions
|
|
@ -350,6 +350,7 @@ api.updateHero = {
|
|||
if (updateData.itemPath && updateData.itemVal && validateItemPath(updateData.itemPath)) {
|
||||
// Sanitization at 5c30944 (deemed unnecessary)
|
||||
_.set(hero, updateData.itemPath, castItemVal(updateData.itemPath, updateData.itemVal));
|
||||
hero.markModified('items');
|
||||
}
|
||||
|
||||
if (updateData.auth && updateData.auth.blocked === true) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue