Compare commits

...

2 Commits

Author SHA1 Message Date
9823729aa8 chore: update batch script 2025-02-02 14:30:51 +01:00
07451dcef0 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>
2025-02-02 05:16:43 -08:00
2 changed files with 5 additions and 5 deletions

View File

@ -1,8 +1,9 @@
@echo off
echo Updating SpaceNinjaServer...
git config remote.origin.prune true
git pull
git config remote.origin.url https://openwf.io/SpaceNinjaServer.git
git fetch --prune
git reset --hard origin/main
if exist static\data\0\ (
echo Updating stripped assets...

View File

@ -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;
};