Rename 'new_inventory'
This commit is contained in:
parent
8c51e443af
commit
f7dcb4ed8a
@ -1,5 +1,5 @@
|
|||||||
import { Inventory } from "@/src/models/inventoryModels/inventoryModel";
|
import { Inventory } from "@/src/models/inventoryModels/inventoryModel";
|
||||||
import new_inventory from "@/static/fixed_responses/postTutorialInventory.json";
|
import postTutorialInventory from "@/static/fixed_responses/postTutorialInventory.json";
|
||||||
import { config } from "@/src/services/configService";
|
import { config } from "@/src/services/configService";
|
||||||
import { Types } from "mongoose";
|
import { Types } from "mongoose";
|
||||||
import { SlotNames, IInventoryChanges, IBinChanges } from "@/src/types/purchaseTypes";
|
import { SlotNames, IInventoryChanges, IBinChanges } from "@/src/types/purchaseTypes";
|
||||||
@ -54,7 +54,7 @@ export const createInventory = async (
|
|||||||
accountOwnerId: accountOwnerId,
|
accountOwnerId: accountOwnerId,
|
||||||
LoadOutPresets: defaultItemReferences.loadOutPresetId,
|
LoadOutPresets: defaultItemReferences.loadOutPresetId,
|
||||||
Ships: [defaultItemReferences.ship],
|
Ships: [defaultItemReferences.ship],
|
||||||
...new_inventory
|
...postTutorialInventory
|
||||||
})
|
})
|
||||||
: new Inventory({
|
: new Inventory({
|
||||||
accountOwnerId: accountOwnerId,
|
accountOwnerId: accountOwnerId,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user