forked from OpenWF/SpaceNinjaServer
		
	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,
 | 
			
		||||
    guildId: Types.ObjectId
 | 
			
		||||
): Promise<void> => {
 | 
			
		||||
    const inventory = await getInventory(accountId);
 | 
			
		||||
    const inventory = await getInventory(accountId, "GuildId Recipes");
 | 
			
		||||
 | 
			
		||||
    // Set GuildId
 | 
			
		||||
    inventory.GuildId = guildId;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user