We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 490d576 commit 9de4250Copy full SHA for 9de4250
utilities/tone-utils.js
@@ -41,7 +41,7 @@ ToneUtils.prototype = {
41
// Function that checks the payload and determines
42
// whether it is JSON or a Buffer
43
checkPayload: function(payload) {
44
- var message = null;
+ var message = null,
45
isJSON = this.isJsonString(payload) || this.isJsonObject(payload);
46
47
// Payload (text to be analysed) must be a string (content is either raw string or Buffer)
0 commit comments