fix: dojo key blueprint not immediately showing up when creating clan
This commit is contained in:
		
							parent
							
								
									69f544c8d1
								
							
						
					
					
						commit
						9de0aee6f0
					
				@ -28,7 +28,17 @@ export const createGuildController: RequestHandler = async (req, res) => {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    await updateInventoryForConfirmedGuildJoin(accountId, guild._id);
 | 
					    await updateInventoryForConfirmedGuildJoin(accountId, guild._id);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    res.json(await getGuildClient(guild, accountId));
 | 
					    res.json({
 | 
				
			||||||
 | 
					        ...(await getGuildClient(guild, accountId)),
 | 
				
			||||||
 | 
					        InventoryChanges: {
 | 
				
			||||||
 | 
					            Recipes: [
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    ItemType: "/Lotus/Types/Keys/DojoKeyBlueprint",
 | 
				
			||||||
 | 
					                    ItemCount: 1
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					            ]
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    });
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
interface ICreateGuildRequest {
 | 
					interface ICreateGuildRequest {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user