fix response for decos destroyed
All checks were successful
Build / build (18) (push) Successful in 42s
Build / build (20) (push) Successful in 54s
Build / build (18) (pull_request) Successful in 48s
Build / build (20) (pull_request) Successful in 54s
Build / build (22) (pull_request) Successful in 39s
Build / build (22) (push) Successful in 3m22s

This commit is contained in:
Sainan 2025-03-05 05:39:12 +01:00
parent a0ccf17130
commit b23bd1ad6e

View File

@ -9,7 +9,7 @@ export const destroyDojoDecoController: RequestHandler = async (req, res) => {
// TODO: The client says this is supposed to refund the resources to the clan vault, so we should probably do that.
await guild.save();
res.json(getDojoClient(guild, 0));
res.json(getDojoClient(guild, 0, request.ComponentId));
};
interface IDestroyDojoDecoRequest {