chore: use inventory projection in updateInventoryForConfirmedGuildJoin
Some checks failed
Build Docker image / docker (push) Waiting to run
Build / build (20) (push) Has been cancelled
Build / build (22) (push) Has been cancelled
Build / build (18) (push) Has been cancelled

This commit is contained in:
Sainan 2025-03-29 18:01:15 +01:00
parent 8cdcb209ae
commit 69f544c8d1

View File

@ -293,7 +293,7 @@ export const updateInventoryForConfirmedGuildJoin = async (
accountId: string,
guildId: Types.ObjectId
): Promise<void> => {
const inventory = await getInventory(accountId);
const inventory = await getInventory(accountId, "GuildId Recipes");
// Set GuildId
inventory.GuildId = guildId;