Skip to content

Commit f9786e4

Browse files
authored
Merge pull request #34 from pusher/bugfix
removes duplicate line
2 parents 69269e1 + 6079e6f commit f9786e4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

push-notifications.js

-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,6 @@ function isValidJson(value) {
261261
function doRequest(baseRequest, options) {
262262
return baseRequest(options)
263263
.then(res => {
264-
const err = new Error('Could not parse response body');
265264
if (res.body) {
266265
const err = new Error('Could not parse response body');
267266
return isValidJson(res.body)

0 commit comments

Comments
 (0)