{"action":"closed","number":90,"pull_request":{"url":"https://api.github.com/repos/2dv612-team4/webchat/pulls/90","id":98003337,"html_url":"https://github.com/2dv612-team4/webchat/pull/90","diff_url":"https://github.com/2dv612-team4/webchat/pull/90.diff","patch_url":"https://github.com/2dv612-team4/webchat/pull/90.patch","issue_url":"https://api.github.com/repos/2dv612-team4/webchat/issues/90","number":90,"state":"closed","locked":false,"title":"Upload file to server.","user":{"login":"jt222ii","id":8628277,"avatar_url":"https://avatars.githubusercontent.com/u/8628277?v=3","gravatar_id":"","url":"https://api.github.com/users/jt222ii","html_url":"https://github.com/jt222ii","followers_url":"https://api.github.com/users/jt222ii/followers","following_url":"https://api.github.com/users/jt222ii/following{/other_user}","gists_url":"https://api.github.com/users/jt222ii/gists{/gist_id}","starred_url":"https://api.github.com/users/jt222ii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jt222ii/subscriptions","organizations_url":"https://api.github.com/users/jt222ii/orgs","repos_url":"https://api.github.com/users/jt222ii/repos","events_url":"https://api.github.com/users/jt222ii/events{/privacy}","received_events_url":"https://api.github.com/users/jt222ii/received_events","type":"User","site_admin":false},"body":"File array in roomschema - like the message array.\r\n\r\nfiles save with an UUID and the original name is saved as well to use when downloaded\r\n\r\nBuild is done but do not know how heroku handles uploads. Works like a charm locally.\r\n\r\nKim & Jonas ","created_at":"2016-12-14T17:57:29Z","updated_at":"2016-12-14T19:55:43Z","closed_at":"2016-12-14T19:55:43Z","merged_at":"2016-12-14T19:55:43Z","merge_commit_sha":"755082691db9a6149fa784ca59e039b1595f5aaf","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/2dv612-team4/webchat/pulls/90/commits","review_comments_url":"https://api.github.com/repos/2dv612-team4/webchat/pulls/90/comments","review_comment_url":"https://api.github.com/repos/2dv612-team4/webchat/pulls/comments{/number}","comments_url":"https://api.github.com/repos/2dv612-team4/webchat/issues/90/comments","statuses_url":"https://api.github.com/repos/2dv612-team4/webchat/statuses/36adf913f49da29991bcb0e0d18dc2dd3b106775","head":{"label":"2dv612-team4:jonas","ref":"jonas","sha":"36adf913f49da29991bcb0e0d18dc2dd3b106775","user":{"login":"2dv612-team4","id":23397416,"avatar_url":"https://avatars.githubusercontent.com/u/23397416?v=3","gravatar_id":"","url":"https://api.github.com/users/2dv612-team4","html_url":"https://github.com/2dv612-team4","followers_url":"https://api.github.com/users/2dv612-team4/followers","following_url":"https://api.github.com/users/2dv612-team4/following{/other_user}","gists_url":"https://api.github.com/users/2dv612-team4/gists{/gist_id}","starred_url":"https://api.github.com/users/2dv612-team4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2dv612-team4/subscriptions","organizations_url":"https://api.github.com/users/2dv612-team4/orgs","repos_url":"https://api.github.com/users/2dv612-team4/repos","events_url":"https://api.github.com/users/2dv612-team4/events{/privacy}","received_events_url":"https://api.github.com/users/2dv612-team4/received_events","type":"Organization","site_admin":false},"repo":{"id":73687575,"name":"webchat","full_name":"2dv612-team4/webchat","owner":{"login":"2dv612-team4","id":23397416,"avatar_url":"https://avatars.githubusercontent.com/u/23397416?v=3","gravatar_id":"","url":"https://api.github.com/users/2dv612-team4","html_url":"https://github.com/2dv612-team4","followers_url":"https://api.github.com/users/2dv612-team4/followers","following_url":"https://api.github.com/users/2dv612-team4/following{/other_user}","gists_url":"https://api.github.com/users/2dv612-team4/gists{/gist_id}","starred_url":"https://api.github.com/users/2dv612-team4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2dv612-team4/subscriptions","organizations_url":"https://api.github.com/users/2dv612-team4/orgs","repos_url":"https://api.github.com/users/2dv612-team4/repos","events_url":"https://api.github.com/users/2dv612-team4/events{/privacy}","received_events_url":"https://api.github.com/users/2dv612-team4/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/2dv612-team4/webchat","description":"this is the main repo","fork":false,"url":"https://api.github.com/repos/2dv612-team4/webchat","forks_url":"https://api.github.com/repos/2dv612-team4/webchat/forks","keys_url":"https://api.github.com/repos/2dv612-team4/webchat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/2dv612-team4/webchat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/2dv612-team4/webchat/teams","hooks_url":"https://api.github.com/repos/2dv612-team4/webchat/hooks","issue_events_url":"https://api.github.com/repos/2dv612-team4/webchat/issues/events{/number}","events_url":"https://api.github.com/repos/2dv612-team4/webchat/events","assignees_url":"https://api.github.com/repos/2dv612-team4/webchat/assignees{/user}","branches_url":"https://api.github.com/repos/2dv612-team4/webchat/branches{/branch}","tags_url":"https://api.github.com/repos/2dv612-team4/webchat/tags","blobs_url":"https://api.github.com/repos/2dv612-team4/webchat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/2dv612-team4/webchat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/2dv612-team4/webchat/git/refs{/sha}","trees_url":"https://api.github.com/repos/2dv612-team4/webchat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/2dv612-team4/webchat/statuses/{sha}","languages_url":"https://api.github.com/repos/2dv612-team4/webchat/languages","stargazers_url":"https://api.github.com/repos/2dv612-team4/webchat/stargazers","contributors_url":"https://api.github.com/repos/2dv612-team4/webchat/contributors","subscribers_url":"https://api.github.com/repos/2dv612-team4/webchat/subscribers","subscription_url":"https://api.github.com/repos/2dv612-team4/webchat/subscription","commits_url":"https://api.github.com/repos/2dv612-team4/webchat/commits{/sha}","git_commits_url":"https://api.github.com/repos/2dv612-team4/webchat/git/commits{/sha}","comments_url":"https://api.github.com/repos/2dv612-team4/webchat/comments{/number}","issue_comment_url":"https://api.github.com/repos/2dv612-team4/webchat/issues/comments{/number}","contents_url":"https://api.github.com/repos/2dv612-team4/webchat/contents/{+path}","compare_url":"https://api.github.com/repos/2dv612-team4/webchat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/2dv612-team4/webchat/merges","archive_url":"https://api.github.com/repos/2dv612-team4/webchat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/2dv612-team4/webchat/downloads","issues_url":"https://api.github.com/repos/2dv612-team4/webchat/issues{/number}","pulls_url":"https://api.github.com/repos/2dv612-team4/webchat/pulls{/number}","milestones_url":"https://api.github.com/repos/2dv612-team4/webchat/milestones{/number}","notifications_url":"https://api.github.com/repos/2dv612-team4/webchat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/2dv612-team4/webchat/labels{/name}","releases_url":"https://api.github.com/repos/2dv612-team4/webchat/releases{/id}","deployments_url":"https://api.github.com/repos/2dv612-team4/webchat/deployments","created_at":"2016-11-14T09:19:16Z","updated_at":"2016-12-13T15:02:21Z","pushed_at":"2016-12-14T19:55:43Z","git_url":"git://github.com/2dv612-team4/webchat.git","ssh_url":"git@github.com:2dv612-team4/webchat.git","clone_url":"https://github.com/2dv612-team4/webchat.git","svn_url":"https://github.com/2dv612-team4/webchat","homepage":"","size":3940,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"2dv612-team4:master","ref":"master","sha":"e74ec2e02bd1790a3ec79f71c8cae2db83e0a35c","user":{"login":"2dv612-team4","id":23397416,"avatar_url":"https://avatars.githubusercontent.com/u/23397416?v=3","gravatar_id":"","url":"https://api.github.com/users/2dv612-team4","html_url":"https://github.com/2dv612-team4","followers_url":"https://api.github.com/users/2dv612-team4/followers","following_url":"https://api.github.com/users/2dv612-team4/following{/other_user}","gists_url":"https://api.github.com/users/2dv612-team4/gists{/gist_id}","starred_url":"https://api.github.com/users/2dv612-team4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2dv612-team4/subscriptions","organizations_url":"https://api.github.com/users/2dv612-team4/orgs","repos_url":"https://api.github.com/users/2dv612-team4/repos","events_url":"https://api.github.com/users/2dv612-team4/events{/privacy}","received_events_url":"https://api.github.com/users/2dv612-team4/received_events","type":"Organization","site_admin":false},"repo":{"id":73687575,"name":"webchat","full_name":"2dv612-team4/webchat","owner":{"login":"2dv612-team4","id":23397416,"avatar_url":"https://avatars.githubusercontent.com/u/23397416?v=3","gravatar_id":"","url":"https://api.github.com/users/2dv612-team4","html_url":"https://github.com/2dv612-team4","followers_url":"https://api.github.com/users/2dv612-team4/followers","following_url":"https://api.github.com/users/2dv612-team4/following{/other_user}","gists_url":"https://api.github.com/users/2dv612-team4/gists{/gist_id}","starred_url":"https://api.github.com/users/2dv612-team4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2dv612-team4/subscriptions","organizations_url":"https://api.github.com/users/2dv612-team4/orgs","repos_url":"https://api.github.com/users/2dv612-team4/repos","events_url":"https://api.github.com/users/2dv612-team4/events{/privacy}","received_events_url":"https://api.github.com/users/2dv612-team4/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/2dv612-team4/webchat","description":"this is the main repo","fork":false,"url":"https://api.github.com/repos/2dv612-team4/webchat","forks_url":"https://api.github.com/repos/2dv612-team4/webchat/forks","keys_url":"https://api.github.com/repos/2dv612-team4/webchat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/2dv612-team4/webchat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/2dv612-team4/webchat/teams","hooks_url":"https://api.github.com/repos/2dv612-team4/webchat/hooks","issue_events_url":"https://api.github.com/repos/2dv612-team4/webchat/issues/events{/number}","events_url":"https://api.github.com/repos/2dv612-team4/webchat/events","assignees_url":"https://api.github.com/repos/2dv612-team4/webchat/assignees{/user}","branches_url":"https://api.github.com/repos/2dv612-team4/webchat/branches{/branch}","tags_url":"https://api.github.com/repos/2dv612-team4/webchat/tags","blobs_url":"https://api.github.com/repos/2dv612-team4/webchat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/2dv612-team4/webchat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/2dv612-team4/webchat/git/refs{/sha}","trees_url":"https://api.github.com/repos/2dv612-team4/webchat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/2dv612-team4/webchat/statuses/{sha}","languages_url":"https://api.github.com/repos/2dv612-team4/webchat/languages","stargazers_url":"https://api.github.com/repos/2dv612-team4/webchat/stargazers","contributors_url":"https://api.github.com/repos/2dv612-team4/webchat/contributors","subscribers_url":"https://api.github.com/repos/2dv612-team4/webchat/subscribers","subscription_url":"https://api.github.com/repos/2dv612-team4/webchat/subscription","commits_url":"https://api.github.com/repos/2dv612-team4/webchat/commits{/sha}","git_commits_url":"https://api.github.com/repos/2dv612-team4/webchat/git/commits{/sha}","comments_url":"https://api.github.com/repos/2dv612-team4/webchat/comments{/number}","issue_comment_url":"https://api.github.com/repos/2dv612-team4/webchat/issues/comments{/number}","contents_url":"https://api.github.com/repos/2dv612-team4/webchat/contents/{+path}","compare_url":"https://api.github.com/repos/2dv612-team4/webchat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/2dv612-team4/webchat/merges","archive_url":"https://api.github.com/repos/2dv612-team4/webchat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/2dv612-team4/webchat/downloads","issues_url":"https://api.github.com/repos/2dv612-team4/webchat/issues{/number}","pulls_url":"https://api.github.com/repos/2dv612-team4/webchat/pulls{/number}","milestones_url":"https://api.github.com/repos/2dv612-team4/webchat/milestones{/number}","notifications_url":"https://api.github.com/repos/2dv612-team4/webchat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/2dv612-team4/webchat/labels{/name}","releases_url":"https://api.github.com/repos/2dv612-team4/webchat/releases{/id}","deployments_url":"https://api.github.com/repos/2dv612-team4/webchat/deployments","created_at":"2016-11-14T09:19:16Z","updated_at":"2016-12-13T15:02:21Z","pushed_at":"2016-12-14T19:55:43Z","git_url":"git://github.com/2dv612-team4/webchat.git","ssh_url":"git@github.com:2dv612-team4/webchat.git","clone_url":"https://github.com/2dv612-team4/webchat.git","svn_url":"https://github.com/2dv612-team4/webchat","homepage":"","size":3940,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/2dv612-team4/webchat/pulls/90"},"html":{"href":"https://github.com/2dv612-team4/webchat/pull/90"},"issue":{"href":"https://api.github.com/repos/2dv612-team4/webchat/issues/90"},"comments":{"href":"https://api.github.com/repos/2dv612-team4/webchat/issues/90/comments"},"review_comments":{"href":"https://api.github.com/repos/2dv612-team4/webchat/pulls/90/comments"},"review_comment":{"href":"https://api.github.com/repos/2dv612-team4/webchat/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/2dv612-team4/webchat/pulls/90/commits"},"statuses":{"href":"https://api.github.com/repos/2dv612-team4/webchat/statuses/36adf913f49da29991bcb0e0d18dc2dd3b106775"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"rs222kn","id":8655479,"avatar_url":"https://avatars.githubusercontent.com/u/8655479?v=3","gravatar_id":"","url":"https://api.github.com/users/rs222kn","html_url":"https://github.com/rs222kn","followers_url":"https://api.github.com/users/rs222kn/followers","following_url":"https://api.github.com/users/rs222kn/following{/other_user}","gists_url":"https://api.github.com/users/rs222kn/gists{/gist_id}","starred_url":"https://api.github.com/users/rs222kn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rs222kn/subscriptions","organizations_url":"https://api.github.com/users/rs222kn/orgs","repos_url":"https://api.github.com/users/rs222kn/repos","events_url":"https://api.github.com/users/rs222kn/events{/privacy}","received_events_url":"https://api.github.com/users/rs222kn/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":10,"additions":86,"deletions":12,"changed_files":13}}
{"actor":{"display_login":"rs222kn"}}