forked from OpenWF/SpaceNinjaServer
fix: inventory not being requested when visiting navigation (#882)
Reviewed-on: http://209.141.38.3/OpenWF/SpaceNinjaServer/pulls/882 Co-authored-by: Sainan <sainan@calamity.inc> Co-committed-by: Sainan <sainan@calamity.inc>
This commit is contained in:
parent
d62ef9bbf3
commit
07451dcef0
@ -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