Update setActiveQuestController.ts
Some checks failed
Build / build (18) (push) Failing after 39s
Build / build (20) (push) Failing after 57s
Build / build (20) (pull_request) Failing after 55s
Build / build (22) (push) Failing after 1m21s
Build / build (18) (pull_request) Failing after 37s
Build / build (22) (pull_request) Failing after 1m14s
Some checks failed
Build / build (18) (push) Failing after 39s
Build / build (20) (push) Failing after 57s
Build / build (20) (pull_request) Failing after 55s
Build / build (22) (push) Failing after 1m21s
Build / build (18) (pull_request) Failing after 37s
Build / build (22) (pull_request) Failing after 1m14s
This commit is contained in:
parent
5b6b731957
commit
92172874d9
@ -5,7 +5,6 @@ import { RequestHandler } from "express";
|
|||||||
export const setActiveQuestController: RequestHandler<{}, {}, {}, { quest: string | undefined }> = async (req, res) => {
|
export const setActiveQuestController: RequestHandler<{}, {}, {}, { quest: string | undefined }> = async (req, res) => {
|
||||||
const accountId = await getAccountIdForRequest(req);
|
const accountId = await getAccountIdForRequest(req);
|
||||||
const quest = req.query.quest;
|
const quest = req.query.quest;
|
||||||
console.log("req.query.quest", req.query.quest);
|
|
||||||
|
|
||||||
const inventory = await getInventory(accountId, "ActiveQuest");
|
const inventory = await getInventory(accountId, "ActiveQuest");
|
||||||
inventory.ActiveQuest = quest ?? "";
|
inventory.ActiveQuest = quest ?? "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user