fix: complete all quests not working
All checks were successful
Build / build (push) Successful in 46s
Build / build (pull_request) Successful in 1m38s

This commit is contained in:
Sainan 2025-04-20 16:58:35 +02:00
parent 11f2ffe64d
commit 7c9994e913

View File

@ -35,11 +35,9 @@ export const manageQuestsController: RequestHandler = async (req, res) => {
switch (operation) {
case "completeAll": {
if (allQuestKeys.includes(questItemType)) {
for (const questKey of inventory.QuestKeys) {
await completeQuest(inventory, questKey.ItemType);
}
}
break;
}
case "resetAll": {