{"action":"closed","number":6,"pull_request":{"url":"https://api.github.com/repos/stadtulm/cykel/pulls/6","id":310449694,"node_id":"MDExOlB1bGxSZXF1ZXN0MzEwNDQ5Njk0","html_url":"https://github.com/stadtulm/cykel/pull/6","diff_url":"https://github.com/stadtulm/cykel/pull/6.diff","patch_url":"https://github.com/stadtulm/cykel/pull/6.patch","issue_url":"https://api.github.com/repos/stadtulm/cykel/issues/6","number":6,"state":"closed","locked":false,"title":"Check for None-ness of location","user":{"login":"moeffju","id":14829,"node_id":"MDQ6VXNlcjE0ODI5","avatar_url":"https://avatars2.githubusercontent.com/u/14829?v=4","gravatar_id":"","url":"https://api.github.com/users/moeffju","html_url":"https://github.com/moeffju","followers_url":"https://api.github.com/users/moeffju/followers","following_url":"https://api.github.com/users/moeffju/following{/other_user}","gists_url":"https://api.github.com/users/moeffju/gists{/gist_id}","starred_url":"https://api.github.com/users/moeffju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moeffju/subscriptions","organizations_url":"https://api.github.com/users/moeffju/orgs","repos_url":"https://api.github.com/users/moeffju/repos","events_url":"https://api.github.com/users/moeffju/events{/privacy}","received_events_url":"https://api.github.com/users/moeffju/received_events","type":"User","site_admin":false},"body":"If a bike is created at a station, the location does not have to be set, but this breaks serialization.\r\n\r\nThe nicer way would be to make the bike inherit the location from the station, but this fixes the cosmetic issue.","created_at":"2019-08-23T16:11:47Z","updated_at":"2019-08-23T19:10:50Z","closed_at":"2019-08-23T19:10:50Z","merged_at":"2019-08-23T19:10:50Z","merge_commit_sha":"15b75a7d38943c2e074b92fa76756decd9665401","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/stadtulm/cykel/pulls/6/commits","review_comments_url":"https://api.github.com/repos/stadtulm/cykel/pulls/6/comments","review_comment_url":"https://api.github.com/repos/stadtulm/cykel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stadtulm/cykel/issues/6/comments","statuses_url":"https://api.github.com/repos/stadtulm/cykel/statuses/97133c86f93824fbc1cc4a5b1bf0a6036b184d1d","head":{"label":"moeffju:check-for-none-location","ref":"check-for-none-location","sha":"97133c86f93824fbc1cc4a5b1bf0a6036b184d1d","user":{"login":"moeffju","id":14829,"node_id":"MDQ6VXNlcjE0ODI5","avatar_url":"https://avatars2.githubusercontent.com/u/14829?v=4","gravatar_id":"","url":"https://api.github.com/users/moeffju","html_url":"https://github.com/moeffju","followers_url":"https://api.github.com/users/moeffju/followers","following_url":"https://api.github.com/users/moeffju/following{/other_user}","gists_url":"https://api.github.com/users/moeffju/gists{/gist_id}","starred_url":"https://api.github.com/users/moeffju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moeffju/subscriptions","organizations_url":"https://api.github.com/users/moeffju/orgs","repos_url":"https://api.github.com/users/moeffju/repos","events_url":"https://api.github.com/users/moeffju/events{/privacy}","received_events_url":"https://api.github.com/users/moeffju/received_events","type":"User","site_admin":false},"repo":{"id":203986883,"node_id":"MDEwOlJlcG9zaXRvcnkyMDM5ODY4ODM=","name":"cykel","full_name":"moeffju/cykel","private":false,"owner":{"login":"moeffju","id":14829,"node_id":"MDQ6VXNlcjE0ODI5","avatar_url":"https://avatars2.githubusercontent.com/u/14829?v=4","gravatar_id":"","url":"https://api.github.com/users/moeffju","html_url":"https://github.com/moeffju","followers_url":"https://api.github.com/users/moeffju/followers","following_url":"https://api.github.com/users/moeffju/following{/other_user}","gists_url":"https://api.github.com/users/moeffju/gists{/gist_id}","starred_url":"https://api.github.com/users/moeffju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moeffju/subscriptions","organizations_url":"https://api.github.com/users/moeffju/orgs","repos_url":"https://api.github.com/users/moeffju/repos","events_url":"https://api.github.com/users/moeffju/events{/privacy}","received_events_url":"https://api.github.com/users/moeffju/received_events","type":"User","site_admin":false},"html_url":"https://github.com/moeffju/cykel","description":"Django Bikesharing Backend","fork":true,"url":"https://api.github.com/repos/moeffju/cykel","forks_url":"https://api.github.com/repos/moeffju/cykel/forks","keys_url":"https://api.github.com/repos/moeffju/cykel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moeffju/cykel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moeffju/cykel/teams","hooks_url":"https://api.github.com/repos/moeffju/cykel/hooks","issue_events_url":"https://api.github.com/repos/moeffju/cykel/issues/events{/number}","events_url":"https://api.github.com/repos/moeffju/cykel/events","assignees_url":"https://api.github.com/repos/moeffju/cykel/assignees{/user}","branches_url":"https://api.github.com/repos/moeffju/cykel/branches{/branch}","tags_url":"https://api.github.com/repos/moeffju/cykel/tags","blobs_url":"https://api.github.com/repos/moeffju/cykel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moeffju/cykel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moeffju/cykel/git/refs{/sha}","trees_url":"https://api.github.com/repos/moeffju/cykel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moeffju/cykel/statuses/{sha}","languages_url":"https://api.github.com/repos/moeffju/cykel/languages","stargazers_url":"https://api.github.com/repos/moeffju/cykel/stargazers","contributors_url":"https://api.github.com/repos/moeffju/cykel/contributors","subscribers_url":"https://api.github.com/repos/moeffju/cykel/subscribers","subscription_url":"https://api.github.com/repos/moeffju/cykel/subscription","commits_url":"https://api.github.com/repos/moeffju/cykel/commits{/sha}","git_commits_url":"https://api.github.com/repos/moeffju/cykel/git/commits{/sha}","comments_url":"https://api.github.com/repos/moeffju/cykel/comments{/number}","issue_comment_url":"https://api.github.com/repos/moeffju/cykel/issues/comments{/number}","contents_url":"https://api.github.com/repos/moeffju/cykel/contents/{+path}","compare_url":"https://api.github.com/repos/moeffju/cykel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moeffju/cykel/merges","archive_url":"https://api.github.com/repos/moeffju/cykel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moeffju/cykel/downloads","issues_url":"https://api.github.com/repos/moeffju/cykel/issues{/number}","pulls_url":"https://api.github.com/repos/moeffju/cykel/pulls{/number}","milestones_url":"https://api.github.com/repos/moeffju/cykel/milestones{/number}","notifications_url":"https://api.github.com/repos/moeffju/cykel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moeffju/cykel/labels{/name}","releases_url":"https://api.github.com/repos/moeffju/cykel/releases{/id}","deployments_url":"https://api.github.com/repos/moeffju/cykel/deployments","created_at":"2019-08-23T11:37:43Z","updated_at":"2019-08-23T11:45:34Z","pushed_at":"2019-08-23T16:10:57Z","git_url":"git://github.com/moeffju/cykel.git","ssh_url":"git@github.com:moeffju/cykel.git","clone_url":"https://github.com/moeffju/cykel.git","svn_url":"https://github.com/moeffju/cykel","homepage":null,"size":62,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"stadtulm:auth","ref":"auth","sha":"e633566eef8efa05d4dd969f76a9e6ad5739f32e","user":{"login":"stadtulm","id":46978601,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2OTc4NjAx","avatar_url":"https://avatars0.githubusercontent.com/u/46978601?v=4","gravatar_id":"","url":"https://api.github.com/users/stadtulm","html_url":"https://github.com/stadtulm","followers_url":"https://api.github.com/users/stadtulm/followers","following_url":"https://api.github.com/users/stadtulm/following{/other_user}","gists_url":"https://api.github.com/users/stadtulm/gists{/gist_id}","starred_url":"https://api.github.com/users/stadtulm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stadtulm/subscriptions","organizations_url":"https://api.github.com/users/stadtulm/orgs","repos_url":"https://api.github.com/users/stadtulm/repos","events_url":"https://api.github.com/users/stadtulm/events{/privacy}","received_events_url":"https://api.github.com/users/stadtulm/received_events","type":"Organization","site_admin":false},"repo":{"id":201924732,"node_id":"MDEwOlJlcG9zaXRvcnkyMDE5MjQ3MzI=","name":"cykel","full_name":"stadtulm/cykel","private":false,"owner":{"login":"stadtulm","id":46978601,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2OTc4NjAx","avatar_url":"https://avatars0.githubusercontent.com/u/46978601?v=4","gravatar_id":"","url":"https://api.github.com/users/stadtulm","html_url":"https://github.com/stadtulm","followers_url":"https://api.github.com/users/stadtulm/followers","following_url":"https://api.github.com/users/stadtulm/following{/other_user}","gists_url":"https://api.github.com/users/stadtulm/gists{/gist_id}","starred_url":"https://api.github.com/users/stadtulm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stadtulm/subscriptions","organizations_url":"https://api.github.com/users/stadtulm/orgs","repos_url":"https://api.github.com/users/stadtulm/repos","events_url":"https://api.github.com/users/stadtulm/events{/privacy}","received_events_url":"https://api.github.com/users/stadtulm/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/stadtulm/cykel","description":"Django Bikesharing Backend","fork":false,"url":"https://api.github.com/repos/stadtulm/cykel","forks_url":"https://api.github.com/repos/stadtulm/cykel/forks","keys_url":"https://api.github.com/repos/stadtulm/cykel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stadtulm/cykel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stadtulm/cykel/teams","hooks_url":"https://api.github.com/repos/stadtulm/cykel/hooks","issue_events_url":"https://api.github.com/repos/stadtulm/cykel/issues/events{/number}","events_url":"https://api.github.com/repos/stadtulm/cykel/events","assignees_url":"https://api.github.com/repos/stadtulm/cykel/assignees{/user}","branches_url":"https://api.github.com/repos/stadtulm/cykel/branches{/branch}","tags_url":"https://api.github.com/repos/stadtulm/cykel/tags","blobs_url":"https://api.github.com/repos/stadtulm/cykel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stadtulm/cykel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stadtulm/cykel/git/refs{/sha}","trees_url":"https://api.github.com/repos/stadtulm/cykel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stadtulm/cykel/statuses/{sha}","languages_url":"https://api.github.com/repos/stadtulm/cykel/languages","stargazers_url":"https://api.github.com/repos/stadtulm/cykel/stargazers","contributors_url":"https://api.github.com/repos/stadtulm/cykel/contributors","subscribers_url":"https://api.github.com/repos/stadtulm/cykel/subscribers","subscription_url":"https://api.github.com/repos/stadtulm/cykel/subscription","commits_url":"https://api.github.com/repos/stadtulm/cykel/commits{/sha}","git_commits_url":"https://api.github.com/repos/stadtulm/cykel/git/commits{/sha}","comments_url":"https://api.github.com/repos/stadtulm/cykel/comments{/number}","issue_comment_url":"https://api.github.com/repos/stadtulm/cykel/issues/comments{/number}","contents_url":"https://api.github.com/repos/stadtulm/cykel/contents/{+path}","compare_url":"https://api.github.com/repos/stadtulm/cykel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stadtulm/cykel/merges","archive_url":"https://api.github.com/repos/stadtulm/cykel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stadtulm/cykel/downloads","issues_url":"https://api.github.com/repos/stadtulm/cykel/issues{/number}","pulls_url":"https://api.github.com/repos/stadtulm/cykel/pulls{/number}","milestones_url":"https://api.github.com/repos/stadtulm/cykel/milestones{/number}","notifications_url":"https://api.github.com/repos/stadtulm/cykel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stadtulm/cykel/labels{/name}","releases_url":"https://api.github.com/repos/stadtulm/cykel/releases{/id}","deployments_url":"https://api.github.com/repos/stadtulm/cykel/deployments","created_at":"2019-08-12T12:19:23Z","updated_at":"2019-08-23T11:46:43Z","pushed_at":"2019-08-23T19:10:50Z","git_url":"git://github.com/stadtulm/cykel.git","ssh_url":"git@github.com:stadtulm/cykel.git","clone_url":"https://github.com/stadtulm/cykel.git","svn_url":"https://github.com/stadtulm/cykel","homepage":null,"size":61,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":3,"license":null,"forks":4,"open_issues":3,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stadtulm/cykel/pulls/6"},"html":{"href":"https://github.com/stadtulm/cykel/pull/6"},"issue":{"href":"https://api.github.com/repos/stadtulm/cykel/issues/6"},"comments":{"href":"https://api.github.com/repos/stadtulm/cykel/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/stadtulm/cykel/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/stadtulm/cykel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stadtulm/cykel/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/stadtulm/cykel/statuses/97133c86f93824fbc1cc4a5b1bf0a6036b184d1d"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"robbi5","id":172415,"node_id":"MDQ6VXNlcjE3MjQxNQ==","avatar_url":"https://avatars3.githubusercontent.com/u/172415?v=4","gravatar_id":"","url":"https://api.github.com/users/robbi5","html_url":"https://github.com/robbi5","followers_url":"https://api.github.com/users/robbi5/followers","following_url":"https://api.github.com/users/robbi5/following{/other_user}","gists_url":"https://api.github.com/users/robbi5/gists{/gist_id}","starred_url":"https://api.github.com/users/robbi5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbi5/subscriptions","organizations_url":"https://api.github.com/users/robbi5/orgs","repos_url":"https://api.github.com/users/robbi5/repos","events_url":"https://api.github.com/users/robbi5/events{/privacy}","received_events_url":"https://api.github.com/users/robbi5/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":2,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"robbi5"}}