fix: inventory not being requested when visiting navigation
All checks were successful
Build / build (18) (push) Successful in 37s
Build / build (22) (push) Successful in 33s
Build / build (20) (push) Successful in 48s
Build / build (18) (pull_request) Successful in 37s
Build / build (22) (pull_request) Successful in 50s
Build / build (20) (pull_request) Successful in 32s
All checks were successful
Build / build (18) (push) Successful in 37s
Build / build (22) (push) Successful in 33s
Build / build (20) (push) Successful in 48s
Build / build (18) (pull_request) Successful in 37s
Build / build (22) (pull_request) Successful in 50s
Build / build (20) (pull_request) Successful in 32s
This commit is contained in:
parent
d62ef9bbf3
commit
5999f61613
@ -16,8 +16,6 @@ import {
|
||||
} from "warframe-public-export-plus";
|
||||
import { handleSubsumeCompletion } from "./infestedFoundryController";
|
||||
import { allDailyAffiliationKeys } from "@/src/services/inventoryService";
|
||||
import { toOid } from "@/src/helpers/inventoryHelpers";
|
||||
import { Types } from "mongoose";
|
||||
|
||||
export const inventoryController: RequestHandler = async (request, response) => {
|
||||
const account = await getAccountForRequest(request);
|
||||
@ -257,7 +255,8 @@ export const getInventoryResponse = async (
|
||||
// This determines if the "void fissures" tab is shown in navigation.
|
||||
inventoryResponse.HasOwnedVoidProjectionsPreviously = true;
|
||||
|
||||
inventoryResponse.LastInventorySync = toOid(new Types.ObjectId());
|
||||
// Omitting this field so opening the navigation resyncs the inventory which is more desirable for typical usage.
|
||||
//inventoryResponse.LastInventorySync = toOid(new Types.ObjectId());
|
||||
|
||||
return inventoryResponse;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user