mirror of
https://github.com/rybbit-io/rybbit.git
synced 2025-05-10 20:05:38 +02:00
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:
parent
562a982f8d
commit
db1bbe2fb1
1 changed files with 1 additions and 1 deletions
|
@ -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 });
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue