{"action":"closed","number":10,"pull_request":{"url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/pulls/10","id":205335898,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1MzM1ODk4","html_url":"https://github.com/asierzapata/BookDiscover-ReactNative/pull/10","diff_url":"https://github.com/asierzapata/BookDiscover-ReactNative/pull/10.diff","patch_url":"https://github.com/asierzapata/BookDiscover-ReactNative/pull/10.patch","issue_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/issues/10","number":10,"state":"closed","locked":false,"title":"Library add book","user":{"login":"asierzapata","id":15639658,"node_id":"MDQ6VXNlcjE1NjM5NjU4","avatar_url":"https://avatars0.githubusercontent.com/u/15639658?v=4","gravatar_id":"","url":"https://api.github.com/users/asierzapata","html_url":"https://github.com/asierzapata","followers_url":"https://api.github.com/users/asierzapata/followers","following_url":"https://api.github.com/users/asierzapata/following{/other_user}","gists_url":"https://api.github.com/users/asierzapata/gists{/gist_id}","starred_url":"https://api.github.com/users/asierzapata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asierzapata/subscriptions","organizations_url":"https://api.github.com/users/asierzapata/orgs","repos_url":"https://api.github.com/users/asierzapata/repos","events_url":"https://api.github.com/users/asierzapata/events{/privacy}","received_events_url":"https://api.github.com/users/asierzapata/received_events","type":"User","site_admin":false},"body":"Fix the add new book where it wasn't appending new books to the array but just pushing a new one and trigger the update of the user books form the book detail. It is not the best solution because the data should be requested by the specific screen on entering the view again, but as a fast fix is good to go until we figure out how to detect this re-entering the view post first render.\r\n\r\nDid a bit of clean up of `console.log`.","created_at":"2018-08-01T07:44:09Z","updated_at":"2018-08-01T11:59:20Z","closed_at":"2018-08-01T11:59:20Z","merged_at":"2018-08-01T11:59:20Z","merge_commit_sha":"579d80b14f20b3e8132c0647d3ba7ae0524ac69d","assignee":{"login":"pologonzalo","id":11379655,"node_id":"MDQ6VXNlcjExMzc5NjU1","avatar_url":"https://avatars3.githubusercontent.com/u/11379655?v=4","gravatar_id":"","url":"https://api.github.com/users/pologonzalo","html_url":"https://github.com/pologonzalo","followers_url":"https://api.github.com/users/pologonzalo/followers","following_url":"https://api.github.com/users/pologonzalo/following{/other_user}","gists_url":"https://api.github.com/users/pologonzalo/gists{/gist_id}","starred_url":"https://api.github.com/users/pologonzalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pologonzalo/subscriptions","organizations_url":"https://api.github.com/users/pologonzalo/orgs","repos_url":"https://api.github.com/users/pologonzalo/repos","events_url":"https://api.github.com/users/pologonzalo/events{/privacy}","received_events_url":"https://api.github.com/users/pologonzalo/received_events","type":"User","site_admin":false},"assignees":[{"login":"pologonzalo","id":11379655,"node_id":"MDQ6VXNlcjExMzc5NjU1","avatar_url":"https://avatars3.githubusercontent.com/u/11379655?v=4","gravatar_id":"","url":"https://api.github.com/users/pologonzalo","html_url":"https://github.com/pologonzalo","followers_url":"https://api.github.com/users/pologonzalo/followers","following_url":"https://api.github.com/users/pologonzalo/following{/other_user}","gists_url":"https://api.github.com/users/pologonzalo/gists{/gist_id}","starred_url":"https://api.github.com/users/pologonzalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pologonzalo/subscriptions","organizations_url":"https://api.github.com/users/pologonzalo/orgs","repos_url":"https://api.github.com/users/pologonzalo/repos","events_url":"https://api.github.com/users/pologonzalo/events{/privacy}","received_events_url":"https://api.github.com/users/pologonzalo/received_events","type":"User","site_admin":false},{"login":"asierzapata","id":15639658,"node_id":"MDQ6VXNlcjE1NjM5NjU4","avatar_url":"https://avatars0.githubusercontent.com/u/15639658?v=4","gravatar_id":"","url":"https://api.github.com/users/asierzapata","html_url":"https://github.com/asierzapata","followers_url":"https://api.github.com/users/asierzapata/followers","following_url":"https://api.github.com/users/asierzapata/following{/other_user}","gists_url":"https://api.github.com/users/asierzapata/gists{/gist_id}","starred_url":"https://api.github.com/users/asierzapata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asierzapata/subscriptions","organizations_url":"https://api.github.com/users/asierzapata/orgs","repos_url":"https://api.github.com/users/asierzapata/repos","events_url":"https://api.github.com/users/asierzapata/events{/privacy}","received_events_url":"https://api.github.com/users/asierzapata/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/pulls/10/commits","review_comments_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/pulls/10/comments","review_comment_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/pulls/comments{/number}","comments_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/issues/10/comments","statuses_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/statuses/ee990504aacf68e1d32fcfe11250d435fcccba6b","head":{"label":"asierzapata:library-add-book","ref":"library-add-book","sha":"ee990504aacf68e1d32fcfe11250d435fcccba6b","user":{"login":"asierzapata","id":15639658,"node_id":"MDQ6VXNlcjE1NjM5NjU4","avatar_url":"https://avatars0.githubusercontent.com/u/15639658?v=4","gravatar_id":"","url":"https://api.github.com/users/asierzapata","html_url":"https://github.com/asierzapata","followers_url":"https://api.github.com/users/asierzapata/followers","following_url":"https://api.github.com/users/asierzapata/following{/other_user}","gists_url":"https://api.github.com/users/asierzapata/gists{/gist_id}","starred_url":"https://api.github.com/users/asierzapata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asierzapata/subscriptions","organizations_url":"https://api.github.com/users/asierzapata/orgs","repos_url":"https://api.github.com/users/asierzapata/repos","events_url":"https://api.github.com/users/asierzapata/events{/privacy}","received_events_url":"https://api.github.com/users/asierzapata/received_events","type":"User","site_admin":false},"repo":{"id":141026493,"node_id":"MDEwOlJlcG9zaXRvcnkxNDEwMjY0OTM=","name":"BookDiscover-ReactNative","full_name":"asierzapata/BookDiscover-ReactNative","owner":{"login":"asierzapata","id":15639658,"node_id":"MDQ6VXNlcjE1NjM5NjU4","avatar_url":"https://avatars0.githubusercontent.com/u/15639658?v=4","gravatar_id":"","url":"https://api.github.com/users/asierzapata","html_url":"https://github.com/asierzapata","followers_url":"https://api.github.com/users/asierzapata/followers","following_url":"https://api.github.com/users/asierzapata/following{/other_user}","gists_url":"https://api.github.com/users/asierzapata/gists{/gist_id}","starred_url":"https://api.github.com/users/asierzapata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asierzapata/subscriptions","organizations_url":"https://api.github.com/users/asierzapata/orgs","repos_url":"https://api.github.com/users/asierzapata/repos","events_url":"https://api.github.com/users/asierzapata/events{/privacy}","received_events_url":"https://api.github.com/users/asierzapata/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/asierzapata/BookDiscover-ReactNative","description":"App to help book lovers to find, save, review and buy books","fork":false,"url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative","forks_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/forks","keys_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/teams","hooks_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/hooks","issue_events_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/issues/events{/number}","events_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/events","assignees_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/assignees{/user}","branches_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/branches{/branch}","tags_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/tags","blobs_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/git/refs{/sha}","trees_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/statuses/{sha}","languages_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/languages","stargazers_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/stargazers","contributors_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/contributors","subscribers_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/subscribers","subscription_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/subscription","commits_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/commits{/sha}","git_commits_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/git/commits{/sha}","comments_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/comments{/number}","issue_comment_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/issues/comments{/number}","contents_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/contents/{+path}","compare_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/merges","archive_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/downloads","issues_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/issues{/number}","pulls_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/pulls{/number}","milestones_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/milestones{/number}","notifications_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/labels{/name}","releases_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/releases{/id}","deployments_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/deployments","created_at":"2018-07-15T12:42:41Z","updated_at":"2018-07-31T12:20:10Z","pushed_at":"2018-08-01T11:59:20Z","git_url":"git://github.com/asierzapata/BookDiscover-ReactNative.git","ssh_url":"git@github.com:asierzapata/BookDiscover-ReactNative.git","clone_url":"https://github.com/asierzapata/BookDiscover-ReactNative.git","svn_url":"https://github.com/asierzapata/BookDiscover-ReactNative","homepage":"","size":263,"stargazers_count":1,"watchers_count":1,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"asierzapata:master","ref":"master","sha":"4363f4c6957c31159a4af2ac7da0d63fee6fdf0f","user":{"login":"asierzapata","id":15639658,"node_id":"MDQ6VXNlcjE1NjM5NjU4","avatar_url":"https://avatars0.githubusercontent.com/u/15639658?v=4","gravatar_id":"","url":"https://api.github.com/users/asierzapata","html_url":"https://github.com/asierzapata","followers_url":"https://api.github.com/users/asierzapata/followers","following_url":"https://api.github.com/users/asierzapata/following{/other_user}","gists_url":"https://api.github.com/users/asierzapata/gists{/gist_id}","starred_url":"https://api.github.com/users/asierzapata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asierzapata/subscriptions","organizations_url":"https://api.github.com/users/asierzapata/orgs","repos_url":"https://api.github.com/users/asierzapata/repos","events_url":"https://api.github.com/users/asierzapata/events{/privacy}","received_events_url":"https://api.github.com/users/asierzapata/received_events","type":"User","site_admin":false},"repo":{"id":141026493,"node_id":"MDEwOlJlcG9zaXRvcnkxNDEwMjY0OTM=","name":"BookDiscover-ReactNative","full_name":"asierzapata/BookDiscover-ReactNative","owner":{"login":"asierzapata","id":15639658,"node_id":"MDQ6VXNlcjE1NjM5NjU4","avatar_url":"https://avatars0.githubusercontent.com/u/15639658?v=4","gravatar_id":"","url":"https://api.github.com/users/asierzapata","html_url":"https://github.com/asierzapata","followers_url":"https://api.github.com/users/asierzapata/followers","following_url":"https://api.github.com/users/asierzapata/following{/other_user}","gists_url":"https://api.github.com/users/asierzapata/gists{/gist_id}","starred_url":"https://api.github.com/users/asierzapata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asierzapata/subscriptions","organizations_url":"https://api.github.com/users/asierzapata/orgs","repos_url":"https://api.github.com/users/asierzapata/repos","events_url":"https://api.github.com/users/asierzapata/events{/privacy}","received_events_url":"https://api.github.com/users/asierzapata/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/asierzapata/BookDiscover-ReactNative","description":"App to help book lovers to find, save, review and buy books","fork":false,"url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative","forks_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/forks","keys_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/teams","hooks_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/hooks","issue_events_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/issues/events{/number}","events_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/events","assignees_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/assignees{/user}","branches_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/branches{/branch}","tags_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/tags","blobs_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/git/refs{/sha}","trees_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/statuses/{sha}","languages_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/languages","stargazers_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/stargazers","contributors_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/contributors","subscribers_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/subscribers","subscription_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/subscription","commits_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/commits{/sha}","git_commits_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/git/commits{/sha}","comments_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/comments{/number}","issue_comment_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/issues/comments{/number}","contents_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/contents/{+path}","compare_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/merges","archive_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/downloads","issues_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/issues{/number}","pulls_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/pulls{/number}","milestones_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/milestones{/number}","notifications_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/labels{/name}","releases_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/releases{/id}","deployments_url":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/deployments","created_at":"2018-07-15T12:42:41Z","updated_at":"2018-07-31T12:20:10Z","pushed_at":"2018-08-01T11:59:20Z","git_url":"git://github.com/asierzapata/BookDiscover-ReactNative.git","ssh_url":"git@github.com:asierzapata/BookDiscover-ReactNative.git","clone_url":"https://github.com/asierzapata/BookDiscover-ReactNative.git","svn_url":"https://github.com/asierzapata/BookDiscover-ReactNative","homepage":"","size":263,"stargazers_count":1,"watchers_count":1,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/pulls/10"},"html":{"href":"https://github.com/asierzapata/BookDiscover-ReactNative/pull/10"},"issue":{"href":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/issues/10"},"comments":{"href":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/asierzapata/BookDiscover-ReactNative/statuses/ee990504aacf68e1d32fcfe11250d435fcccba6b"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"asierzapata","id":15639658,"node_id":"MDQ6VXNlcjE1NjM5NjU4","avatar_url":"https://avatars0.githubusercontent.com/u/15639658?v=4","gravatar_id":"","url":"https://api.github.com/users/asierzapata","html_url":"https://github.com/asierzapata","followers_url":"https://api.github.com/users/asierzapata/followers","following_url":"https://api.github.com/users/asierzapata/following{/other_user}","gists_url":"https://api.github.com/users/asierzapata/gists{/gist_id}","starred_url":"https://api.github.com/users/asierzapata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asierzapata/subscriptions","organizations_url":"https://api.github.com/users/asierzapata/orgs","repos_url":"https://api.github.com/users/asierzapata/repos","events_url":"https://api.github.com/users/asierzapata/events{/privacy}","received_events_url":"https://api.github.com/users/asierzapata/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":6,"additions":65,"deletions":80,"changed_files":13}}
{"actor":{"display_login":"asierzapata"}}