Skip to content

Commit caac88d

Browse files
committed
braid-http:0.3.20 - bug fix
1 parent da81ce7 commit caac88d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

braid-http/braid-http-client.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ async function braid_fetch (url, params = {}) {
229229

230230
// Now we define the subscription function we just used:
231231
function start_subscription (cb, error) {
232-
if (!res.ok) {
232+
if (!res.ok)
233233
throw new Error('Request returned not ok status:', res.status)
234234

235235
if (res.bodyUsed)

braid-http/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "braid-http",
3-
"version": "0.3.19",
3+
"version": "0.3.20",
44
"description": "An implementation of Braid-HTTP for Node.js and Browsers",
55
"scripts": {
66
"test": "node test/server.js"

0 commit comments

Comments
 (0)