chore: use inventory projection in updateInventoryForConfirmedGuildJoin
This commit is contained in:
parent
8cdcb209ae
commit
69f544c8d1
@ -293,7 +293,7 @@ export const updateInventoryForConfirmedGuildJoin = async (
|
|||||||
accountId: string,
|
accountId: string,
|
||||||
guildId: Types.ObjectId
|
guildId: Types.ObjectId
|
||||||
): Promise<void> => {
|
): Promise<void> => {
|
||||||
const inventory = await getInventory(accountId);
|
const inventory = await getInventory(accountId, "GuildId Recipes");
|
||||||
|
|
||||||
// Set GuildId
|
// Set GuildId
|
||||||
inventory.GuildId = guildId;
|
inventory.GuildId = guildId;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user