Skip to content

Commit

Permalink
or
Browse files Browse the repository at this point in the history
  • Loading branch information
ptpaterson committed Dec 17, 2024
1 parent 587aa97 commit ac69b69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -642,8 +642,8 @@ in an environmental variable named FAUNA_SECRET or pass it to the Client\
// Receiving a 200 with no body/content indicates an issue with core router
if (
response.status === 200 &&
response.body.length === 0 &&
response.headers["content-length"] === "0"
(response.body.length === 0 ||
response.headers["content-length"] === "0")
) {
throw new ProtocolError({
message:
Expand Down

0 comments on commit ac69b69

Please sign in to comment.