step 9.5: wip (not ticked)
This commit is contained in:
@@ -15,7 +15,7 @@ function wrap(fn) {
|
||||
/**
|
||||
* GET /api/inventory — list all items, equipped gear, and derived stats.
|
||||
*/
|
||||
async function handleListInventory(req, _res) {
|
||||
async function handleListInventory(req, res) {
|
||||
const characterId = getCharacterIdForUser(req.session.userId);
|
||||
const result = listInventory(characterId);
|
||||
res.json({ ok: true, data: result });
|
||||
|
||||
Reference in New Issue
Block a user