fix: syndicate sacrifice doesn't persist new title
This commit is contained in:
parent
9633d307a2
commit
cf5478d1df
@ -47,7 +47,8 @@ export const syndicateSacrificeController: RequestHandler = async (request, resp
|
|||||||
res.InventoryChanges.MiscItems = miscItemChanges;
|
res.InventoryChanges.MiscItems = miscItemChanges;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (syndicate?.Title !== undefined) syndicate.Title += 1;
|
syndicate.Title ??= 0;
|
||||||
|
syndicate.Title += 1;
|
||||||
|
|
||||||
await inventory.save();
|
await inventory.save();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user