fix(backend): DELETE /webhooks/:id returns 204 No Content
Matches REST convention and the frontend api-client's existing 204 fast-path, avoiding a JSON-parse crash on an empty response body.
This commit is contained in:
1 parent
59fdc816a0
commit
2458927d38
2 files changed
+11
-2
No files matched your search
@@ -170,6 +170,6 @@ describe('Webhooks (e2e)', () => {
|
||||
return request(app.getHttpServer())
|
||||
.delete(`/api/v1/webhooks/${subscriptionId}`)
|
||||
.set('Authorization', `Bearer ${adminAccessToken}`)
|
||||
.expect(200);
|
||||
.expect(204);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user