Update deleteSite response to include success status

- Modified the response of the deleteSite function to return a success message in the response body, enhancing clarity for the client regarding the operation's outcome.
This commit is contained in:
Bill Yang 2025-04-27 21:38:18 -07:00
parent 562a982f8d
commit db1bbe2fb1

View file

@ -30,5 +30,5 @@ export async function deleteSite(
// Remove the site from the siteConfig cache
siteConfig.removeSite(Number(id));
return reply.status(200).send();
return reply.status(200).send({ success: true });
}