GitHub PullRequestReviewCommentEvent at 2014-02-03 21:41:38
Repository: webpagetest
Actor: klepikov
Payload: {"comment":{"url":"https://api.github.com/repos/WPO-Foundation/webpagetest/pulls/comments/9400742","id":9400742,"diff_hunk":"@@ -466,8 +475,13 @@ Client.prototype.postResultFile_ = function(job, resultFile, fields, callback) {\n   var mp = new multipart.Multipart();\r\n   mp.addPart('id', job.id, ['Content-Type: text/plain']);\r\n   mp.addPart('location', this.location_);\r\n-  if (this.apiKey) {\r\n-    mp.addPart('key', this.apiKey);\r\n+  if (this.apiKey_) {\r\n+    mp.addPart('key', this.apiKey_);\r\n+  }\r\n+  if (this.name_) {\r\n+    mp.addPart('pc', this.name_);\r","path":"agent/js/src/wpt_client.js","position":88,"original_position":88,"commit_id":"6a7249dc128037a37af2222af115d5f42c9ded97","original_commit_id":"6a7249dc128037a37af2222af115d5f42c9ded97","user":{"login":"klepikov","id":1371569,"avatar_url":"https://gravatar.com/avatar/77a8985cbfb1bfc4e737351fb31c3494?d=https%3A%2F%2Fidenticons.github.com%2F558f84da703ff4c8abb2d1d88e6d728f.png&r=x","gravatar_id":"77a8985cbfb1bfc4e737351fb31c3494","url":"https://api.github.com/users/klepikov","html_url":"https://github.com/klepikov","followers_url":"https://api.github.com/users/klepikov/followers","following_url":"https://api.github.com/users/klepikov/following{/other_user}","gists_url":"https://api.github.com/users/klepikov/gists{/gist_id}","starred_url":"https://api.github.com/users/klepikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klepikov/subscriptions","organizations_url":"https://api.github.com/users/klepikov/orgs","repos_url":"https://api.github.com/users/klepikov/repos","events_url":"https://api.github.com/users/klepikov/events{/privacy}","received_events_url":"https://api.github.com/users/klepikov/received_events","type":"User","site_admin":false},"body":"Would this work:\r\nthis.name_ || this.deviceSerial_ || ''","created_at":"2014-02-03T21:41:38Z","updated_at":"2014-02-03T21:41:38Z","html_url":"https://github.com/WPO-Foundation/webpagetest/pull/185#discussion_r9400742","pull_request_url":"https://api.github.com/repos/WPO-Foundation/webpagetest/pulls/185","_links":{"self":{"href":"https://api.github.com/repos/WPO-Foundation/webpagetest/pulls/comments/9400742"},"html":{"href":"https://github.com/WPO-Foundation/webpagetest/pull/185#discussion_r9400742"},"pull_request":{"href":"https://api.github.com/repos/WPO-Foundation/webpagetest/pulls/185"}}}}