mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 13:59:16 +01:00
fix(api): 🐛 Force text content-type header on all empty responses
Fixes a problem where the content-type would default to application/json
This commit is contained in:
parent
06376cf58a
commit
5074ac788f
11 changed files with 13 additions and 12 deletions
|
|
@ -201,7 +201,7 @@ export default (plugin: PluginType): void => {
|
|||
.delete(OpenIdAccounts)
|
||||
.where(eq(OpenIdAccounts.id, account.id));
|
||||
|
||||
return context.body(null, 204);
|
||||
return context.text("", 204);
|
||||
},
|
||||
);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue