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

Commit

Permalink
Fixed linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
avbel committed Apr 24, 2018
1 parent 387acb6 commit 5bc2f43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/message.js
Expand Up @@ -190,7 +190,7 @@ var Message = function (client) {
return client.makeRequest({
path : "messages/" + messageId,
method : "PATCH",
body: data
body : data
})
.asCallback(callback);
};
Expand Down
6 changes: 3 additions & 3 deletions test/message-test.js
Expand Up @@ -92,7 +92,7 @@ describe("Message API", function () {
.reply(200, testMessage)
.get("/v1/users/" + userId + "/messages?fromDateTime=" + fromDateTime + "&" + "toDateTime=" + toDateTime)
.reply(200, messagesList)
.patch("/v1/users/" + userId + "/messages/" + testMessage.id, {text: ""})
.patch("/v1/users/" + userId + "/messages/" + testMessage.id, { text : "" })
.reply(200);
});

Expand Down Expand Up @@ -176,11 +176,11 @@ describe("Message API", function () {
});

it("should patch a message, promise style", function () {
return client.Message.patch(testMessage.id, {text: ""});
return client.Message.patch(testMessage.id, { text : "" });
});

it("should patch a message, callback style", function (done) {
return client.Message.patch(testMessage.id, {text: ""}, done);
return client.Message.patch(testMessage.id, { text : "" }, done);
});
});

Expand Down

0 comments on commit 5bc2f43

Please sign in to comment.