Merge pull request #7317 from overleaf/jpa-return-chat-edit-status

[misc] return non-success status from editing chat messages back to web

GitOrigin-RevId: a3d5f59ac1d92662ac9e9c94b1516441d66e831a
This commit is contained in:
Jakob Ackermann
2022-04-05 12:18:19 +00:00
committed by Copybot
parent 1e5d0771bc
commit ed9324e1d3
3 changed files with 7 additions and 3 deletions
@@ -83,7 +83,7 @@ describe('Editing a message', async function () {
ObjectId(),
newContent
)
expect(response.statusCode).to.equal(204)
expect(response.statusCode).to.equal(404)
})
it('should then list the old message in the threads', async function () {