diff --git a/src/controllers/api/inventoryController.ts b/src/controllers/api/inventoryController.ts index 33c6021f..11ba1378 100644 --- a/src/controllers/api/inventoryController.ts +++ b/src/controllers/api/inventoryController.ts @@ -127,6 +127,7 @@ export const inventoryController: RequestHandler = async (request, response) => } inventoryResponse.ArchwingEnabled = true; + inventoryResponse.ActiveQuest = ""; //TODO: might need to reconsider this if this does not work long term. // Skip "Watch The Maker" addString(inventoryResponse.NodeIntrosCompleted, "/Lotus/Levels/Cinematics/NewWarIntro/NewWarStageTwo.level"); diff --git a/src/controllers/api/missionInventoryUpdateController.ts b/src/controllers/api/missionInventoryUpdateController.ts index f24172c4..19b157fd 100644 --- a/src/controllers/api/missionInventoryUpdateController.ts +++ b/src/controllers/api/missionInventoryUpdateController.ts @@ -58,6 +58,7 @@ export const missionInventoryUpdateController: RequestHandler = async (req, res) console.log(`Mission failed: ${missionReport.RewardInfo?.node}`); //todo: return expected response for failed mission res.json([]); + return; //duvirisadjob does not provide missionStatus } diff --git a/src/types/inventoryTypes/inventoryTypes.ts b/src/types/inventoryTypes/inventoryTypes.ts index c9e2d121..da400863 100644 --- a/src/types/inventoryTypes/inventoryTypes.ts +++ b/src/types/inventoryTypes/inventoryTypes.ts @@ -43,7 +43,6 @@ export interface IInventoryDatabase GuildId?: Types.ObjectId; // GuildId changed from ?IOid to ?Types.ObjectId PendingRecipes: IPendingRecipe[]; QuestKeys: IQuestKeyDatabase[]; - ActiveQuest: string; BlessingCooldown: Date; Ships: Types.ObjectId[]; WeaponSkins: IWeaponSkinDatabase[]; @@ -207,6 +206,7 @@ export interface IInventoryClient extends IDailyAffiliations { ReceivedStartingGear: boolean; Ships: IShipInventory[]; QuestKeys: IQuestKeyClient[]; + ActiveQuest: string; FlavourItems: IFlavourItem[]; Scoops: IEquipmentDatabase[]; LoadOutPresets: ILoadOutPresets;