Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jnrepo committed Aug 2, 2016
1 parent bfbb218 commit 2ec4b58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Job.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ module.exports = function (grunt) {
var requestParams = {
method: 'POST',
url: ['https://saucelabs.com/rest/v1', this.user, 'js-tests'].join('/'),
auth: { user: this.user, pass: this.key() },
auth: { user: this.user, pass: this.key },
json: {
platforms: [this.platform],
url: this.url,
Expand Down Expand Up @@ -141,7 +141,7 @@ module.exports = function (grunt) {
.makeRequest({
method: 'POST',
url: ['https://saucelabs.com/rest/v1', me.user, 'js-tests/status'].join('/'),
auth: { user: me.user, pass: me.key() },
auth: { user: me.user, pass: me.key },
json: { 'js tests': [me.taskId] }
})
.then(function (body) {
Expand Down

0 comments on commit 2ec4b58

Please sign in to comment.