{"action":"created","comment":{"url":"https://api.github.com/repos/BugBusterSWE/MaaS/pulls/comments/65048119","id":65048119,"diff_hunk":"@@ -1,15 +1,20 @@\n import * as request from \"superagent\";\n+import {Response} from \"superagent\";\n+import {IMember, ICompany} from \"../actions/companyActionCreator\";\n \n class CompanyAPIs {\n \n     getCompaniesData(token : string) : Promise<Object> {\n \n-        return new Promise(function (resolve, reject) {\n+        return new Promise(\n+            function (resolve : (value : Response) => void,\n+                      reject : (error : Object) => void) : void\n+            {\n             request\n                 .get(\"http://127.0.0.1:3000/api/admin/companies\")\n                 .set(\"Content-Type', 'application/json\")\n                 // C .set('x-access-token', token)\n-                .end(function(error, result) {\n+                .end(function(error : Object, result : Response) : void {","path":"src/public/src/scripts/utils/companyAPI.ts","position":19,"original_position":19,"commit_id":"0f6da6005853153dde8ceb8ee2d5e306854c8357","original_commit_id":"0f6da6005853153dde8ceb8ee2d5e306854c8357","user":{"login":"korut94","id":7094180,"avatar_url":"https://avatars.githubusercontent.com/u/7094180?v=3","gravatar_id":"","url":"https://api.github.com/users/korut94","html_url":"https://github.com/korut94","followers_url":"https://api.github.com/users/korut94/followers","following_url":"https://api.github.com/users/korut94/following{/other_user}","gists_url":"https://api.github.com/users/korut94/gists{/gist_id}","starred_url":"https://api.github.com/users/korut94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/korut94/subscriptions","organizations_url":"https://api.github.com/users/korut94/orgs","repos_url":"https://api.github.com/users/korut94/repos","events_url":"https://api.github.com/users/korut94/events{/privacy}","received_events_url":"https://api.github.com/users/korut94/received_events","type":"User","site_admin":false},"body":"Motivare `error : Object`.","created_at":"2016-05-30T09:39:25Z","updated_at":"2016-05-30T09:39:25Z","html_url":"https://github.com/BugBusterSWE/MaaS/pull/53#discussion_r65048119","pull_request_url":"https://api.github.com/repos/BugBusterSWE/MaaS/pulls/53","_links":{"self":{"href":"https://api.github.com/repos/BugBusterSWE/MaaS/pulls/comments/65048119"},"html":{"href":"https://github.com/BugBusterSWE/MaaS/pull/53#discussion_r65048119"},"pull_request":{"href":"https://api.github.com/repos/BugBusterSWE/MaaS/pulls/53"}}},"pull_request":{"url":"https://api.github.com/repos/BugBusterSWE/MaaS/pulls/53","id":71870451,"html_url":"https://github.com/BugBusterSWE/MaaS/pull/53","diff_url":"https://github.com/BugBusterSWE/MaaS/pull/53.diff","patch_url":"https://github.com/BugBusterSWE/MaaS/pull/53.patch","issue_url":"https://api.github.com/repos/BugBusterSWE/MaaS/issues/53","number":53,"state":"open","locked":false,"title":"Fix backend","user":{"login":"EmanueleC","id":15277992,"avatar_url":"https://avatars.githubusercontent.com/u/15277992?v=3","gravatar_id":"","url":"https://api.github.com/users/EmanueleC","html_url":"https://github.com/EmanueleC","followers_url":"https://api.github.com/users/EmanueleC/followers","following_url":"https://api.github.com/users/EmanueleC/following{/other_user}","gists_url":"https://api.github.com/users/EmanueleC/gists{/gist_id}","starred_url":"https://api.github.com/users/EmanueleC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EmanueleC/subscriptions","organizations_url":"https://api.github.com/users/EmanueleC/orgs","repos_url":"https://api.github.com/users/EmanueleC/repos","events_url":"https://api.github.com/users/EmanueleC/events{/privacy}","received_events_url":"https://api.github.com/users/EmanueleC/received_events","type":"User","site_admin":false},"body":"*Numero del Task/Issue correlato/a*: non definita\r\n\r\n*Breve descrizione della soluzione adottata*: Backend modificato, risolti alcuni errori del lint e tutti gli errori di compilazione","created_at":"2016-05-30T08:44:03Z","updated_at":"2016-05-30T09:39:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0f2d25637214612ff979dc405189e16b6e87b50b","assignee":{"login":"korut94","id":7094180,"avatar_url":"https://avatars.githubusercontent.com/u/7094180?v=3","gravatar_id":"","url":"https://api.github.com/users/korut94","html_url":"https://github.com/korut94","followers_url":"https://api.github.com/users/korut94/followers","following_url":"https://api.github.com/users/korut94/following{/other_user}","gists_url":"https://api.github.com/users/korut94/gists{/gist_id}","starred_url":"https://api.github.com/users/korut94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/korut94/subscriptions","organizations_url":"https://api.github.com/users/korut94/orgs","repos_url":"https://api.github.com/users/korut94/repos","events_url":"https://api.github.com/users/korut94/events{/privacy}","received_events_url":"https://api.github.com/users/korut94/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/BugBusterSWE/MaaS/milestones/5","html_url":"https://github.com/BugBusterSWE/MaaS/milestones/Completamento%20Frontend","labels_url":"https://api.github.com/repos/BugBusterSWE/MaaS/milestones/5/labels","id":1784534,"number":5,"title":"Completamento Frontend","description":"","creator":{"login":"ButlerBusters","id":17761787,"avatar_url":"https://avatars.githubusercontent.com/u/17761787?v=3","gravatar_id":"","url":"https://api.github.com/users/ButlerBusters","html_url":"https://github.com/ButlerBusters","followers_url":"https://api.github.com/users/ButlerBusters/followers","following_url":"https://api.github.com/users/ButlerBusters/following{/other_user}","gists_url":"https://api.github.com/users/ButlerBusters/gists{/gist_id}","starred_url":"https://api.github.com/users/ButlerBusters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ButlerBusters/subscriptions","organizations_url":"https://api.github.com/users/ButlerBusters/orgs","repos_url":"https://api.github.com/users/ButlerBusters/repos","events_url":"https://api.github.com/users/ButlerBusters/events{/privacy}","received_events_url":"https://api.github.com/users/ButlerBusters/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":1,"state":"open","created_at":"2016-05-24T10:09:40Z","updated_at":"2016-05-30T08:44:04Z","due_on":"2016-06-15T00:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/BugBusterSWE/MaaS/pulls/53/commits","review_comments_url":"https://api.github.com/repos/BugBusterSWE/MaaS/pulls/53/comments","review_comment_url":"https://api.github.com/repos/BugBusterSWE/MaaS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BugBusterSWE/MaaS/issues/53/comments","statuses_url":"https://api.github.com/repos/BugBusterSWE/MaaS/statuses/0f6da6005853153dde8ceb8ee2d5e306854c8357","head":{"label":"BugBusterSWE:fixBackend","ref":"fixBackend","sha":"0f6da6005853153dde8ceb8ee2d5e306854c8357","user":{"login":"BugBusterSWE","id":16231103,"avatar_url":"https://avatars.githubusercontent.com/u/16231103?v=3","gravatar_id":"","url":"https://api.github.com/users/BugBusterSWE","html_url":"https://github.com/BugBusterSWE","followers_url":"https://api.github.com/users/BugBusterSWE/followers","following_url":"https://api.github.com/users/BugBusterSWE/following{/other_user}","gists_url":"https://api.github.com/users/BugBusterSWE/gists{/gist_id}","starred_url":"https://api.github.com/users/BugBusterSWE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BugBusterSWE/subscriptions","organizations_url":"https://api.github.com/users/BugBusterSWE/orgs","repos_url":"https://api.github.com/users/BugBusterSWE/repos","events_url":"https://api.github.com/users/BugBusterSWE/events{/privacy}","received_events_url":"https://api.github.com/users/BugBusterSWE/received_events","type":"Organization","site_admin":false},"repo":{"id":56910123,"name":"MaaS","full_name":"BugBusterSWE/MaaS","owner":{"login":"BugBusterSWE","id":16231103,"avatar_url":"https://avatars.githubusercontent.com/u/16231103?v=3","gravatar_id":"","url":"https://api.github.com/users/BugBusterSWE","html_url":"https://github.com/BugBusterSWE","followers_url":"https://api.github.com/users/BugBusterSWE/followers","following_url":"https://api.github.com/users/BugBusterSWE/following{/other_user}","gists_url":"https://api.github.com/users/BugBusterSWE/gists{/gist_id}","starred_url":"https://api.github.com/users/BugBusterSWE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BugBusterSWE/subscriptions","organizations_url":"https://api.github.com/users/BugBusterSWE/orgs","repos_url":"https://api.github.com/users/BugBusterSWE/repos","events_url":"https://api.github.com/users/BugBusterSWE/events{/privacy}","received_events_url":"https://api.github.com/users/BugBusterSWE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BugBusterSWE/MaaS","description":"MongoDB as a Service","fork":false,"url":"https://api.github.com/repos/BugBusterSWE/MaaS","forks_url":"https://api.github.com/repos/BugBusterSWE/MaaS/forks","keys_url":"https://api.github.com/repos/BugBusterSWE/MaaS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BugBusterSWE/MaaS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BugBusterSWE/MaaS/teams","hooks_url":"https://api.github.com/repos/BugBusterSWE/MaaS/hooks","issue_events_url":"https://api.github.com/repos/BugBusterSWE/MaaS/issues/events{/number}","events_url":"https://api.github.com/repos/BugBusterSWE/MaaS/events","assignees_url":"https://api.github.com/repos/BugBusterSWE/MaaS/assignees{/user}","branches_url":"https://api.github.com/repos/BugBusterSWE/MaaS/branches{/branch}","tags_url":"https://api.github.com/repos/BugBusterSWE/MaaS/tags","blobs_url":"https://api.github.com/repos/BugBusterSWE/MaaS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BugBusterSWE/MaaS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BugBusterSWE/MaaS/git/refs{/sha}","trees_url":"https://api.github.com/repos/BugBusterSWE/MaaS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BugBusterSWE/MaaS/statuses/{sha}","languages_url":"https://api.github.com/repos/BugBusterSWE/MaaS/languages","stargazers_url":"https://api.github.com/repos/BugBusterSWE/MaaS/stargazers","contributors_url":"https://api.github.com/repos/BugBusterSWE/MaaS/contributors","subscribers_url":"https://api.github.com/repos/BugBusterSWE/MaaS/subscribers","subscription_url":"https://api.github.com/repos/BugBusterSWE/MaaS/subscription","commits_url":"https://api.github.com/repos/BugBusterSWE/MaaS/commits{/sha}","git_commits_url":"https://api.github.com/repos/BugBusterSWE/MaaS/git/commits{/sha}","comments_url":"https://api.github.com/repos/BugBusterSWE/MaaS/comments{/number}","issue_comment_url":"https://api.github.com/repos/BugBusterSWE/MaaS/issues/comments{/number}","contents_url":"https://api.github.com/repos/BugBusterSWE/MaaS/contents/{+path}","compare_url":"https://api.github.com/repos/BugBusterSWE/MaaS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BugBusterSWE/MaaS/merges","archive_url":"https://api.github.com/repos/BugBusterSWE/MaaS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BugBusterSWE/MaaS/downloads","issues_url":"https://api.github.com/repos/BugBusterSWE/MaaS/issues{/number}","pulls_url":"https://api.github.com/repos/BugBusterSWE/MaaS/pulls{/number}","milestones_url":"https://api.github.com/repos/BugBusterSWE/MaaS/milestones{/number}","notifications_url":"https://api.github.com/repos/BugBusterSWE/MaaS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BugBusterSWE/MaaS/labels{/name}","releases_url":"https://api.github.com/repos/BugBusterSWE/MaaS/releases{/id}","deployments_url":"https://api.github.com/repos/BugBusterSWE/MaaS/deployments","created_at":"2016-04-23T08:58:09Z","updated_at":"2016-05-29T17:26:54Z","pushed_at":"2016-05-30T09:23:58Z","git_url":"git://github.com/BugBusterSWE/MaaS.git","ssh_url":"git@github.com:BugBusterSWE/MaaS.git","clone_url":"https://github.com/BugBusterSWE/MaaS.git","svn_url":"https://github.com/BugBusterSWE/MaaS","homepage":"http://bugbusterswe.github.io/MaaS/","size":1760,"stargazers_count":1,"watchers_count":1,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":12,"forks":0,"open_issues":12,"watchers":1,"default_branch":"master"}},"base":{"label":"BugBusterSWE:testIntegrazione","ref":"testIntegrazione","sha":"688469d4175505dec8a97cfcb13a24248cc8430a","user":{"login":"BugBusterSWE","id":16231103,"avatar_url":"https://avatars.githubusercontent.com/u/16231103?v=3","gravatar_id":"","url":"https://api.github.com/users/BugBusterSWE","html_url":"https://github.com/BugBusterSWE","followers_url":"https://api.github.com/users/BugBusterSWE/followers","following_url":"https://api.github.com/users/BugBusterSWE/following{/other_user}","gists_url":"https://api.github.com/users/BugBusterSWE/gists{/gist_id}","starred_url":"https://api.github.com/users/BugBusterSWE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BugBusterSWE/subscriptions","organizations_url":"https://api.github.com/users/BugBusterSWE/orgs","repos_url":"https://api.github.com/users/BugBusterSWE/repos","events_url":"https://api.github.com/users/BugBusterSWE/events{/privacy}","received_events_url":"https://api.github.com/users/BugBusterSWE/received_events","type":"Organization","site_admin":false},"repo":{"id":56910123,"name":"MaaS","full_name":"BugBusterSWE/MaaS","owner":{"login":"BugBusterSWE","id":16231103,"avatar_url":"https://avatars.githubusercontent.com/u/16231103?v=3","gravatar_id":"","url":"https://api.github.com/users/BugBusterSWE","html_url":"https://github.com/BugBusterSWE","followers_url":"https://api.github.com/users/BugBusterSWE/followers","following_url":"https://api.github.com/users/BugBusterSWE/following{/other_user}","gists_url":"https://api.github.com/users/BugBusterSWE/gists{/gist_id}","starred_url":"https://api.github.com/users/BugBusterSWE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BugBusterSWE/subscriptions","organizations_url":"https://api.github.com/users/BugBusterSWE/orgs","repos_url":"https://api.github.com/users/BugBusterSWE/repos","events_url":"https://api.github.com/users/BugBusterSWE/events{/privacy}","received_events_url":"https://api.github.com/users/BugBusterSWE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BugBusterSWE/MaaS","description":"MongoDB as a Service","fork":false,"url":"https://api.github.com/repos/BugBusterSWE/MaaS","forks_url":"https://api.github.com/repos/BugBusterSWE/MaaS/forks","keys_url":"https://api.github.com/repos/BugBusterSWE/MaaS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BugBusterSWE/MaaS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BugBusterSWE/MaaS/teams","hooks_url":"https://api.github.com/repos/BugBusterSWE/MaaS/hooks","issue_events_url":"https://api.github.com/repos/BugBusterSWE/MaaS/issues/events{/number}","events_url":"https://api.github.com/repos/BugBusterSWE/MaaS/events","assignees_url":"https://api.github.com/repos/BugBusterSWE/MaaS/assignees{/user}","branches_url":"https://api.github.com/repos/BugBusterSWE/MaaS/branches{/branch}","tags_url":"https://api.github.com/repos/BugBusterSWE/MaaS/tags","blobs_url":"https://api.github.com/repos/BugBusterSWE/MaaS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BugBusterSWE/MaaS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BugBusterSWE/MaaS/git/refs{/sha}","trees_url":"https://api.github.com/repos/BugBusterSWE/MaaS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BugBusterSWE/MaaS/statuses/{sha}","languages_url":"https://api.github.com/repos/BugBusterSWE/MaaS/languages","stargazers_url":"https://api.github.com/repos/BugBusterSWE/MaaS/stargazers","contributors_url":"https://api.github.com/repos/BugBusterSWE/MaaS/contributors","subscribers_url":"https://api.github.com/repos/BugBusterSWE/MaaS/subscribers","subscription_url":"https://api.github.com/repos/BugBusterSWE/MaaS/subscription","commits_url":"https://api.github.com/repos/BugBusterSWE/MaaS/commits{/sha}","git_commits_url":"https://api.github.com/repos/BugBusterSWE/MaaS/git/commits{/sha}","comments_url":"https://api.github.com/repos/BugBusterSWE/MaaS/comments{/number}","issue_comment_url":"https://api.github.com/repos/BugBusterSWE/MaaS/issues/comments{/number}","contents_url":"https://api.github.com/repos/BugBusterSWE/MaaS/contents/{+path}","compare_url":"https://api.github.com/repos/BugBusterSWE/MaaS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BugBusterSWE/MaaS/merges","archive_url":"https://api.github.com/repos/BugBusterSWE/MaaS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BugBusterSWE/MaaS/downloads","issues_url":"https://api.github.com/repos/BugBusterSWE/MaaS/issues{/number}","pulls_url":"https://api.github.com/repos/BugBusterSWE/MaaS/pulls{/number}","milestones_url":"https://api.github.com/repos/BugBusterSWE/MaaS/milestones{/number}","notifications_url":"https://api.github.com/repos/BugBusterSWE/MaaS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BugBusterSWE/MaaS/labels{/name}","releases_url":"https://api.github.com/repos/BugBusterSWE/MaaS/releases{/id}","deployments_url":"https://api.github.com/repos/BugBusterSWE/MaaS/deployments","created_at":"2016-04-23T08:58:09Z","updated_at":"2016-05-29T17:26:54Z","pushed_at":"2016-05-30T09:23:58Z","git_url":"git://github.com/BugBusterSWE/MaaS.git","ssh_url":"git@github.com:BugBusterSWE/MaaS.git","clone_url":"https://github.com/BugBusterSWE/MaaS.git","svn_url":"https://github.com/BugBusterSWE/MaaS","homepage":"http://bugbusterswe.github.io/MaaS/","size":1760,"stargazers_count":1,"watchers_count":1,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":12,"forks":0,"open_issues":12,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BugBusterSWE/MaaS/pulls/53"},"html":{"href":"https://github.com/BugBusterSWE/MaaS/pull/53"},"issue":{"href":"https://api.github.com/repos/BugBusterSWE/MaaS/issues/53"},"comments":{"href":"https://api.github.com/repos/BugBusterSWE/MaaS/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/BugBusterSWE/MaaS/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/BugBusterSWE/MaaS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BugBusterSWE/MaaS/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/BugBusterSWE/MaaS/statuses/0f6da6005853153dde8ceb8ee2d5e306854c8357"}}}}
{"actor":{"display_login":"korut94"}}