fix(api): 🏷️ Use context.body for 204 responses

This commit is contained in:
Jesse Wierzbinski 2024-12-30 16:18:28 +01:00
parent 6af6bde12a
commit a7b29d563e
No known key found for this signature in database
8 changed files with 17 additions and 13 deletions

View file

@ -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);
},
);
});