mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
fix(api): 🏷️ Use context.body for 204 responses
This commit is contained in:
parent
6af6bde12a
commit
a7b29d563e
8 changed files with 17 additions and 13 deletions
|
|
@ -201,7 +201,7 @@ export default (plugin: PluginType): void => {
|
|||
.delete(OpenIdAccounts)
|
||||
.where(eq(OpenIdAccounts.id, account.id));
|
||||
|
||||
return context.text("", 204);
|
||||
return context.body(null, 204);
|
||||
},
|
||||
);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue