Fix status code for options requests (#1290)

This commit is contained in:
Yarmo Mackenbach
2021-08-03 19:23:20 +00:00
committed by GitHub
parent a791d9c910
commit cab963f21c
2 changed files with 4 additions and 4 deletions

View File

@@ -142,7 +142,7 @@ test('test fetch chat history OPTIONS request', async (done) => {
const res = await request
.options('/api/integrations/chat')
.set('Authorization', 'Bearer ' + accessToken)
.expect(200);
.expect(204);
done();
});