From b23bd1ad6e715b41249b1a691e443ff563ad9fc1 Mon Sep 17 00:00:00 2001 From: Sainan Date: Wed, 5 Mar 2025 05:39:12 +0100 Subject: [PATCH] fix response for decos destroyed --- src/controllers/api/destroyDojoDecoController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/api/destroyDojoDecoController.ts b/src/controllers/api/destroyDojoDecoController.ts index ec1b45ff..d6884fe4 100644 --- a/src/controllers/api/destroyDojoDecoController.ts +++ b/src/controllers/api/destroyDojoDecoController.ts @@ -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 {