{"action":"created","comment":{"url":"https://api.github.com/repos/wix/media-platform-js-sdk/pulls/comments/174195442","pull_request_review_id":103506658,"id":174195442,"diff_hunk":"@@ -55,11 +62,11 @@ export class UploadJob extends EventEmitter {\n    * @returns {UploadJob}\n    */\n   run(fileUploader: FileUploader): this {\n-    if (this.state === 'running') {\n+    if (this.state === UploadJobState.RUNNING) {\n       console.warn('job already running');","path":"src/public/platform/uploader/upload-job.ts","position":29,"original_position":29,"commit_id":"54374774ac0e447a40c39eb7b5e081f5072213ff","original_commit_id":"54374774ac0e447a40c39eb7b5e081f5072213ff","user":{"login":"bildja","id":818546,"avatar_url":"https://avatars0.githubusercontent.com/u/818546?v=4","gravatar_id":"","url":"https://api.github.com/users/bildja","html_url":"https://github.com/bildja","followers_url":"https://api.github.com/users/bildja/followers","following_url":"https://api.github.com/users/bildja/following{/other_user}","gists_url":"https://api.github.com/users/bildja/gists{/gist_id}","starred_url":"https://api.github.com/users/bildja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bildja/subscriptions","organizations_url":"https://api.github.com/users/bildja/orgs","repos_url":"https://api.github.com/users/bildja/repos","events_url":"https://api.github.com/users/bildja/events{/privacy}","received_events_url":"https://api.github.com/users/bildja/received_events","type":"User","site_admin":false},"body":"@adavidof  It's a warning and it was there. Moreover, there is a test which checks if the warning is logged to console","created_at":"2018-03-13T16:21:52Z","updated_at":"2018-03-13T16:21:52Z","html_url":"https://github.com/wix/media-platform-js-sdk/pull/19#discussion_r174195442","pull_request_url":"https://api.github.com/repos/wix/media-platform-js-sdk/pulls/19","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/wix/media-platform-js-sdk/pulls/comments/174195442"},"html":{"href":"https://github.com/wix/media-platform-js-sdk/pull/19#discussion_r174195442"},"pull_request":{"href":"https://api.github.com/repos/wix/media-platform-js-sdk/pulls/19"}},"in_reply_to_id":174194774},"pull_request":{"url":"https://api.github.com/repos/wix/media-platform-js-sdk/pulls/19","id":174689373,"html_url":"https://github.com/wix/media-platform-js-sdk/pull/19","diff_url":"https://github.com/wix/media-platform-js-sdk/pull/19.diff","patch_url":"https://github.com/wix/media-platform-js-sdk/pull/19.patch","issue_url":"https://api.github.com/repos/wix/media-platform-js-sdk/issues/19","number":19,"state":"open","locked":false,"title":"[WIXMP-707] Add upload abort","user":{"login":"bildja","id":818546,"avatar_url":"https://avatars0.githubusercontent.com/u/818546?v=4","gravatar_id":"","url":"https://api.github.com/users/bildja","html_url":"https://github.com/bildja","followers_url":"https://api.github.com/users/bildja/followers","following_url":"https://api.github.com/users/bildja/following{/other_user}","gists_url":"https://api.github.com/users/bildja/gists{/gist_id}","starred_url":"https://api.github.com/users/bildja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bildja/subscriptions","organizations_url":"https://api.github.com/users/bildja/orgs","repos_url":"https://api.github.com/users/bildja/repos","events_url":"https://api.github.com/users/bildja/events{/privacy}","received_events_url":"https://api.github.com/users/bildja/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-13T15:05:21Z","updated_at":"2018-03-13T16:21:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"04ad8800750ba698f09a2433278d9e89a5e29bb9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/wix/media-platform-js-sdk/pulls/19/commits","review_comments_url":"https://api.github.com/repos/wix/media-platform-js-sdk/pulls/19/comments","review_comment_url":"https://api.github.com/repos/wix/media-platform-js-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wix/media-platform-js-sdk/issues/19/comments","statuses_url":"https://api.github.com/repos/wix/media-platform-js-sdk/statuses/54374774ac0e447a40c39eb7b5e081f5072213ff","head":{"label":"wix:feature/abort-upload","ref":"feature/abort-upload","sha":"54374774ac0e447a40c39eb7b5e081f5072213ff","user":{"login":"wix","id":686511,"avatar_url":"https://avatars1.githubusercontent.com/u/686511?v=4","gravatar_id":"","url":"https://api.github.com/users/wix","html_url":"https://github.com/wix","followers_url":"https://api.github.com/users/wix/followers","following_url":"https://api.github.com/users/wix/following{/other_user}","gists_url":"https://api.github.com/users/wix/gists{/gist_id}","starred_url":"https://api.github.com/users/wix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wix/subscriptions","organizations_url":"https://api.github.com/users/wix/orgs","repos_url":"https://api.github.com/users/wix/repos","events_url":"https://api.github.com/users/wix/events{/privacy}","received_events_url":"https://api.github.com/users/wix/received_events","type":"Organization","site_admin":false},"repo":{"id":60092774,"name":"media-platform-js-sdk","full_name":"wix/media-platform-js-sdk","owner":{"login":"wix","id":686511,"avatar_url":"https://avatars1.githubusercontent.com/u/686511?v=4","gravatar_id":"","url":"https://api.github.com/users/wix","html_url":"https://github.com/wix","followers_url":"https://api.github.com/users/wix/followers","following_url":"https://api.github.com/users/wix/following{/other_user}","gists_url":"https://api.github.com/users/wix/gists{/gist_id}","starred_url":"https://api.github.com/users/wix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wix/subscriptions","organizations_url":"https://api.github.com/users/wix/orgs","repos_url":"https://api.github.com/users/wix/repos","events_url":"https://api.github.com/users/wix/events{/privacy}","received_events_url":"https://api.github.com/users/wix/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wix/media-platform-js-sdk","description":null,"fork":false,"url":"https://api.github.com/repos/wix/media-platform-js-sdk","forks_url":"https://api.github.com/repos/wix/media-platform-js-sdk/forks","keys_url":"https://api.github.com/repos/wix/media-platform-js-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wix/media-platform-js-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wix/media-platform-js-sdk/teams","hooks_url":"https://api.github.com/repos/wix/media-platform-js-sdk/hooks","issue_events_url":"https://api.github.com/repos/wix/media-platform-js-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/wix/media-platform-js-sdk/events","assignees_url":"https://api.github.com/repos/wix/media-platform-js-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/wix/media-platform-js-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/wix/media-platform-js-sdk/tags","blobs_url":"https://api.github.com/repos/wix/media-platform-js-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wix/media-platform-js-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wix/media-platform-js-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/wix/media-platform-js-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wix/media-platform-js-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/wix/media-platform-js-sdk/languages","stargazers_url":"https://api.github.com/repos/wix/media-platform-js-sdk/stargazers","contributors_url":"https://api.github.com/repos/wix/media-platform-js-sdk/contributors","subscribers_url":"https://api.github.com/repos/wix/media-platform-js-sdk/subscribers","subscription_url":"https://api.github.com/repos/wix/media-platform-js-sdk/subscription","commits_url":"https://api.github.com/repos/wix/media-platform-js-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/wix/media-platform-js-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/wix/media-platform-js-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/wix/media-platform-js-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/wix/media-platform-js-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/wix/media-platform-js-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wix/media-platform-js-sdk/merges","archive_url":"https://api.github.com/repos/wix/media-platform-js-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wix/media-platform-js-sdk/downloads","issues_url":"https://api.github.com/repos/wix/media-platform-js-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/wix/media-platform-js-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/wix/media-platform-js-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/wix/media-platform-js-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wix/media-platform-js-sdk/labels{/name}","releases_url":"https://api.github.com/repos/wix/media-platform-js-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/wix/media-platform-js-sdk/deployments","created_at":"2016-05-31T13:39:59Z","updated_at":"2018-03-13T15:54:30Z","pushed_at":"2018-03-13T15:05:22Z","git_url":"git://github.com/wix/media-platform-js-sdk.git","ssh_url":"git@github.com:wix/media-platform-js-sdk.git","clone_url":"https://github.com/wix/media-platform-js-sdk.git","svn_url":"https://github.com/wix/media-platform-js-sdk","homepage":"https://gcp.wixmp.com/","size":4932,"stargazers_count":7,"watchers_count":7,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":2,"open_issues":3,"watchers":7,"default_branch":"master"}},"base":{"label":"wix:master","ref":"master","sha":"2321f791e329c884c89ccb8e8b77213056828ec3","user":{"login":"wix","id":686511,"avatar_url":"https://avatars1.githubusercontent.com/u/686511?v=4","gravatar_id":"","url":"https://api.github.com/users/wix","html_url":"https://github.com/wix","followers_url":"https://api.github.com/users/wix/followers","following_url":"https://api.github.com/users/wix/following{/other_user}","gists_url":"https://api.github.com/users/wix/gists{/gist_id}","starred_url":"https://api.github.com/users/wix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wix/subscriptions","organizations_url":"https://api.github.com/users/wix/orgs","repos_url":"https://api.github.com/users/wix/repos","events_url":"https://api.github.com/users/wix/events{/privacy}","received_events_url":"https://api.github.com/users/wix/received_events","type":"Organization","site_admin":false},"repo":{"id":60092774,"name":"media-platform-js-sdk","full_name":"wix/media-platform-js-sdk","owner":{"login":"wix","id":686511,"avatar_url":"https://avatars1.githubusercontent.com/u/686511?v=4","gravatar_id":"","url":"https://api.github.com/users/wix","html_url":"https://github.com/wix","followers_url":"https://api.github.com/users/wix/followers","following_url":"https://api.github.com/users/wix/following{/other_user}","gists_url":"https://api.github.com/users/wix/gists{/gist_id}","starred_url":"https://api.github.com/users/wix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wix/subscriptions","organizations_url":"https://api.github.com/users/wix/orgs","repos_url":"https://api.github.com/users/wix/repos","events_url":"https://api.github.com/users/wix/events{/privacy}","received_events_url":"https://api.github.com/users/wix/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wix/media-platform-js-sdk","description":null,"fork":false,"url":"https://api.github.com/repos/wix/media-platform-js-sdk","forks_url":"https://api.github.com/repos/wix/media-platform-js-sdk/forks","keys_url":"https://api.github.com/repos/wix/media-platform-js-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wix/media-platform-js-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wix/media-platform-js-sdk/teams","hooks_url":"https://api.github.com/repos/wix/media-platform-js-sdk/hooks","issue_events_url":"https://api.github.com/repos/wix/media-platform-js-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/wix/media-platform-js-sdk/events","assignees_url":"https://api.github.com/repos/wix/media-platform-js-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/wix/media-platform-js-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/wix/media-platform-js-sdk/tags","blobs_url":"https://api.github.com/repos/wix/media-platform-js-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wix/media-platform-js-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wix/media-platform-js-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/wix/media-platform-js-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wix/media-platform-js-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/wix/media-platform-js-sdk/languages","stargazers_url":"https://api.github.com/repos/wix/media-platform-js-sdk/stargazers","contributors_url":"https://api.github.com/repos/wix/media-platform-js-sdk/contributors","subscribers_url":"https://api.github.com/repos/wix/media-platform-js-sdk/subscribers","subscription_url":"https://api.github.com/repos/wix/media-platform-js-sdk/subscription","commits_url":"https://api.github.com/repos/wix/media-platform-js-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/wix/media-platform-js-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/wix/media-platform-js-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/wix/media-platform-js-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/wix/media-platform-js-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/wix/media-platform-js-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wix/media-platform-js-sdk/merges","archive_url":"https://api.github.com/repos/wix/media-platform-js-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wix/media-platform-js-sdk/downloads","issues_url":"https://api.github.com/repos/wix/media-platform-js-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/wix/media-platform-js-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/wix/media-platform-js-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/wix/media-platform-js-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wix/media-platform-js-sdk/labels{/name}","releases_url":"https://api.github.com/repos/wix/media-platform-js-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/wix/media-platform-js-sdk/deployments","created_at":"2016-05-31T13:39:59Z","updated_at":"2018-03-13T15:54:30Z","pushed_at":"2018-03-13T15:05:22Z","git_url":"git://github.com/wix/media-platform-js-sdk.git","ssh_url":"git@github.com:wix/media-platform-js-sdk.git","clone_url":"https://github.com/wix/media-platform-js-sdk.git","svn_url":"https://github.com/wix/media-platform-js-sdk","homepage":"https://gcp.wixmp.com/","size":4932,"stargazers_count":7,"watchers_count":7,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":2,"open_issues":3,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wix/media-platform-js-sdk/pulls/19"},"html":{"href":"https://github.com/wix/media-platform-js-sdk/pull/19"},"issue":{"href":"https://api.github.com/repos/wix/media-platform-js-sdk/issues/19"},"comments":{"href":"https://api.github.com/repos/wix/media-platform-js-sdk/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/wix/media-platform-js-sdk/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/wix/media-platform-js-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wix/media-platform-js-sdk/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/wix/media-platform-js-sdk/statuses/54374774ac0e447a40c39eb7b5e081f5072213ff"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"bildja"}}