forked from OpenWF/SpaceNinjaServer
Compare commits
No commits in common. "9823729aa83087b2c5106215afb865ce007b6731" and "d62ef9bbf36a31c3a8e8207b09e8f5d641ecb8ae" have entirely different histories.
9823729aa8
...
d62ef9bbf3
@ -1,9 +1,8 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
echo Updating SpaceNinjaServer...
|
echo Updating SpaceNinjaServer...
|
||||||
git config remote.origin.url https://openwf.io/SpaceNinjaServer.git
|
git config remote.origin.prune true
|
||||||
git fetch --prune
|
git pull
|
||||||
git reset --hard origin/main
|
|
||||||
|
|
||||||
if exist static\data\0\ (
|
if exist static\data\0\ (
|
||||||
echo Updating stripped assets...
|
echo Updating stripped assets...
|
||||||
|
@ -16,6 +16,8 @@ import {
|
|||||||
} from "warframe-public-export-plus";
|
} from "warframe-public-export-plus";
|
||||||
import { handleSubsumeCompletion } from "./infestedFoundryController";
|
import { handleSubsumeCompletion } from "./infestedFoundryController";
|
||||||
import { allDailyAffiliationKeys } from "@/src/services/inventoryService";
|
import { allDailyAffiliationKeys } from "@/src/services/inventoryService";
|
||||||
|
import { toOid } from "@/src/helpers/inventoryHelpers";
|
||||||
|
import { Types } from "mongoose";
|
||||||
|
|
||||||
export const inventoryController: RequestHandler = async (request, response) => {
|
export const inventoryController: RequestHandler = async (request, response) => {
|
||||||
const account = await getAccountForRequest(request);
|
const account = await getAccountForRequest(request);
|
||||||
@ -255,8 +257,7 @@ export const getInventoryResponse = async (
|
|||||||
// This determines if the "void fissures" tab is shown in navigation.
|
// This determines if the "void fissures" tab is shown in navigation.
|
||||||
inventoryResponse.HasOwnedVoidProjectionsPreviously = true;
|
inventoryResponse.HasOwnedVoidProjectionsPreviously = true;
|
||||||
|
|
||||||
// Omitting this field so opening the navigation resyncs the inventory which is more desirable for typical usage.
|
inventoryResponse.LastInventorySync = toOid(new Types.ObjectId());
|
||||||
//inventoryResponse.LastInventorySync = toOid(new Types.ObjectId());
|
|
||||||
|
|
||||||
return inventoryResponse;
|
return inventoryResponse;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user