fix: dojo key blueprint not immediately showing up when creating clan
All checks were successful
Build / build (20) (push) Successful in 41s
Build / build (18) (push) Successful in 1m24s
Build Docker image / docker (push) Successful in 31s
Build / build (22) (push) Successful in 1m20s

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 {