Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
http-api - block - get - return value raw
Browse files Browse the repository at this point in the history
value may be a binary buffer, it should be returned as is instead of coerced into unicode
  • Loading branch information
kumavis authored and daviddias committed Feb 1, 2017
1 parent dd21c6d commit 05a84c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http-api/resources/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ exports.get = {
}).code(500)
}

return reply(block.data.toString())
return reply(block.data)
})
}
}
Expand Down

0 comments on commit 05a84c6

Please sign in to comment.