feat: the circuit #2039

Merged
Sainan merged 6 commits from exp-reward-gen into main 2025-05-09 21:38:14 -07:00
Showing only changes of commit 18a4db9d0f - Show all commits

View File

@ -40,7 +40,7 @@ export const endlessXpController: RequestHandler = async (req, res) => {
await inventory.save(); await inventory.save();
res.json({ res.json({
NewProgress: inventory.toJSON<IInventoryClient>().EndlessXP!.find(x => x.Category == payload.Category) NewProgress: inventory.toJSON<IInventoryClient>().EndlessXP!.find(x => x.Category == payload.Category)!
}); });
} else { } else {
logger.debug(`data provided to ${req.path}: ${String(req.body)}`); logger.debug(`data provided to ${req.path}: ${String(req.body)}`);