fix: dojo key blueprint not immediately showing up when creating clan

This commit is contained in:
Sainan 2025-03-29 18:01:52 +01:00
parent 69f544c8d1
commit 9de0aee6f0

View File

@ -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 {