{"action":"closed","number":32,"pull_request":{"url":"https://api.github.com/repos/monooso/news.singlestory.app/pulls/32","id":159995212,"html_url":"https://github.com/monooso/news.singlestory.app/pull/32","diff_url":"https://github.com/monooso/news.singlestory.app/pull/32.diff","patch_url":"https://github.com/monooso/news.singlestory.app/pull/32.patch","issue_url":"https://api.github.com/repos/monooso/news.singlestory.app/issues/32","number":32,"state":"closed","locked":false,"title":"Fix duplicate tokens bug","user":{"login":"monooso","id":4369838,"avatar_url":"https://avatars3.githubusercontent.com/u/4369838?v=4","gravatar_id":"","url":"https://api.github.com/users/monooso","html_url":"https://github.com/monooso","followers_url":"https://api.github.com/users/monooso/followers","following_url":"https://api.github.com/users/monooso/following{/other_user}","gists_url":"https://api.github.com/users/monooso/gists{/gist_id}","starred_url":"https://api.github.com/users/monooso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monooso/subscriptions","organizations_url":"https://api.github.com/users/monooso/orgs","repos_url":"https://api.github.com/users/monooso/repos","events_url":"https://api.github.com/users/monooso/events{/privacy}","received_events_url":"https://api.github.com/users/monooso/received_events","type":"User","site_admin":false},"body":"Fix a bug whereby expired tokens are not deleted from the database, prior to creating a new user token, due to the default token global scope.\r\n\r\nAs a result, a duplicate record DB exception is thrown.\r\n\r\nCloses #31.","created_at":"2017-12-24T10:27:51Z","updated_at":"2017-12-24T10:29:00Z","closed_at":"2017-12-24T10:29:00Z","merged_at":"2017-12-24T10:29:00Z","merge_commit_sha":"9857d8ccf53bf58899d7a54f840f42053687f764","assignee":{"login":"monooso","id":4369838,"avatar_url":"https://avatars3.githubusercontent.com/u/4369838?v=4","gravatar_id":"","url":"https://api.github.com/users/monooso","html_url":"https://github.com/monooso","followers_url":"https://api.github.com/users/monooso/followers","following_url":"https://api.github.com/users/monooso/following{/other_user}","gists_url":"https://api.github.com/users/monooso/gists{/gist_id}","starred_url":"https://api.github.com/users/monooso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monooso/subscriptions","organizations_url":"https://api.github.com/users/monooso/orgs","repos_url":"https://api.github.com/users/monooso/repos","events_url":"https://api.github.com/users/monooso/events{/privacy}","received_events_url":"https://api.github.com/users/monooso/received_events","type":"User","site_admin":false},"assignees":[{"login":"monooso","id":4369838,"avatar_url":"https://avatars3.githubusercontent.com/u/4369838?v=4","gravatar_id":"","url":"https://api.github.com/users/monooso","html_url":"https://github.com/monooso","followers_url":"https://api.github.com/users/monooso/followers","following_url":"https://api.github.com/users/monooso/following{/other_user}","gists_url":"https://api.github.com/users/monooso/gists{/gist_id}","starred_url":"https://api.github.com/users/monooso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monooso/subscriptions","organizations_url":"https://api.github.com/users/monooso/orgs","repos_url":"https://api.github.com/users/monooso/repos","events_url":"https://api.github.com/users/monooso/events{/privacy}","received_events_url":"https://api.github.com/users/monooso/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/monooso/news.singlestory.app/pulls/32/commits","review_comments_url":"https://api.github.com/repos/monooso/news.singlestory.app/pulls/32/comments","review_comment_url":"https://api.github.com/repos/monooso/news.singlestory.app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/monooso/news.singlestory.app/issues/32/comments","statuses_url":"https://api.github.com/repos/monooso/news.singlestory.app/statuses/0bf6e513b528bb9b0b6293becaad946846ce741c","head":{"label":"monooso:issues/31-token-error","ref":"issues/31-token-error","sha":"0bf6e513b528bb9b0b6293becaad946846ce741c","user":{"login":"monooso","id":4369838,"avatar_url":"https://avatars3.githubusercontent.com/u/4369838?v=4","gravatar_id":"","url":"https://api.github.com/users/monooso","html_url":"https://github.com/monooso","followers_url":"https://api.github.com/users/monooso/followers","following_url":"https://api.github.com/users/monooso/following{/other_user}","gists_url":"https://api.github.com/users/monooso/gists{/gist_id}","starred_url":"https://api.github.com/users/monooso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monooso/subscriptions","organizations_url":"https://api.github.com/users/monooso/orgs","repos_url":"https://api.github.com/users/monooso/repos","events_url":"https://api.github.com/users/monooso/events{/privacy}","received_events_url":"https://api.github.com/users/monooso/received_events","type":"User","site_admin":false},"repo":{"id":110298964,"name":"news.singlestory.app","full_name":"monooso/news.singlestory.app","owner":{"login":"monooso","id":4369838,"avatar_url":"https://avatars3.githubusercontent.com/u/4369838?v=4","gravatar_id":"","url":"https://api.github.com/users/monooso","html_url":"https://github.com/monooso","followers_url":"https://api.github.com/users/monooso/followers","following_url":"https://api.github.com/users/monooso/following{/other_user}","gists_url":"https://api.github.com/users/monooso/gists{/gist_id}","starred_url":"https://api.github.com/users/monooso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monooso/subscriptions","organizations_url":"https://api.github.com/users/monooso/orgs","repos_url":"https://api.github.com/users/monooso/repos","events_url":"https://api.github.com/users/monooso/events{/privacy}","received_events_url":"https://api.github.com/users/monooso/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/monooso/news.singlestory.app","description":"Get the one news story that matters most, delivered straight to your inbox.","fork":false,"url":"https://api.github.com/repos/monooso/news.singlestory.app","forks_url":"https://api.github.com/repos/monooso/news.singlestory.app/forks","keys_url":"https://api.github.com/repos/monooso/news.singlestory.app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/monooso/news.singlestory.app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/monooso/news.singlestory.app/teams","hooks_url":"https://api.github.com/repos/monooso/news.singlestory.app/hooks","issue_events_url":"https://api.github.com/repos/monooso/news.singlestory.app/issues/events{/number}","events_url":"https://api.github.com/repos/monooso/news.singlestory.app/events","assignees_url":"https://api.github.com/repos/monooso/news.singlestory.app/assignees{/user}","branches_url":"https://api.github.com/repos/monooso/news.singlestory.app/branches{/branch}","tags_url":"https://api.github.com/repos/monooso/news.singlestory.app/tags","blobs_url":"https://api.github.com/repos/monooso/news.singlestory.app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/monooso/news.singlestory.app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/monooso/news.singlestory.app/git/refs{/sha}","trees_url":"https://api.github.com/repos/monooso/news.singlestory.app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/monooso/news.singlestory.app/statuses/{sha}","languages_url":"https://api.github.com/repos/monooso/news.singlestory.app/languages","stargazers_url":"https://api.github.com/repos/monooso/news.singlestory.app/stargazers","contributors_url":"https://api.github.com/repos/monooso/news.singlestory.app/contributors","subscribers_url":"https://api.github.com/repos/monooso/news.singlestory.app/subscribers","subscription_url":"https://api.github.com/repos/monooso/news.singlestory.app/subscription","commits_url":"https://api.github.com/repos/monooso/news.singlestory.app/commits{/sha}","git_commits_url":"https://api.github.com/repos/monooso/news.singlestory.app/git/commits{/sha}","comments_url":"https://api.github.com/repos/monooso/news.singlestory.app/comments{/number}","issue_comment_url":"https://api.github.com/repos/monooso/news.singlestory.app/issues/comments{/number}","contents_url":"https://api.github.com/repos/monooso/news.singlestory.app/contents/{+path}","compare_url":"https://api.github.com/repos/monooso/news.singlestory.app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/monooso/news.singlestory.app/merges","archive_url":"https://api.github.com/repos/monooso/news.singlestory.app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/monooso/news.singlestory.app/downloads","issues_url":"https://api.github.com/repos/monooso/news.singlestory.app/issues{/number}","pulls_url":"https://api.github.com/repos/monooso/news.singlestory.app/pulls{/number}","milestones_url":"https://api.github.com/repos/monooso/news.singlestory.app/milestones{/number}","notifications_url":"https://api.github.com/repos/monooso/news.singlestory.app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/monooso/news.singlestory.app/labels{/name}","releases_url":"https://api.github.com/repos/monooso/news.singlestory.app/releases{/id}","deployments_url":"https://api.github.com/repos/monooso/news.singlestory.app/deployments","created_at":"2017-11-10T22:34:14Z","updated_at":"2017-11-29T19:19:37Z","pushed_at":"2017-12-24T10:29:00Z","git_url":"git://github.com/monooso/news.singlestory.app.git","ssh_url":"git@github.com:monooso/news.singlestory.app.git","clone_url":"https://github.com/monooso/news.singlestory.app.git","svn_url":"https://github.com/monooso/news.singlestory.app","homepage":"https://singlestory.news","size":1453,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":7,"watchers":1,"default_branch":"master"}},"base":{"label":"monooso:master","ref":"master","sha":"691e6a4e762ca5216c88dfc63271faa4225c1a6e","user":{"login":"monooso","id":4369838,"avatar_url":"https://avatars3.githubusercontent.com/u/4369838?v=4","gravatar_id":"","url":"https://api.github.com/users/monooso","html_url":"https://github.com/monooso","followers_url":"https://api.github.com/users/monooso/followers","following_url":"https://api.github.com/users/monooso/following{/other_user}","gists_url":"https://api.github.com/users/monooso/gists{/gist_id}","starred_url":"https://api.github.com/users/monooso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monooso/subscriptions","organizations_url":"https://api.github.com/users/monooso/orgs","repos_url":"https://api.github.com/users/monooso/repos","events_url":"https://api.github.com/users/monooso/events{/privacy}","received_events_url":"https://api.github.com/users/monooso/received_events","type":"User","site_admin":false},"repo":{"id":110298964,"name":"news.singlestory.app","full_name":"monooso/news.singlestory.app","owner":{"login":"monooso","id":4369838,"avatar_url":"https://avatars3.githubusercontent.com/u/4369838?v=4","gravatar_id":"","url":"https://api.github.com/users/monooso","html_url":"https://github.com/monooso","followers_url":"https://api.github.com/users/monooso/followers","following_url":"https://api.github.com/users/monooso/following{/other_user}","gists_url":"https://api.github.com/users/monooso/gists{/gist_id}","starred_url":"https://api.github.com/users/monooso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monooso/subscriptions","organizations_url":"https://api.github.com/users/monooso/orgs","repos_url":"https://api.github.com/users/monooso/repos","events_url":"https://api.github.com/users/monooso/events{/privacy}","received_events_url":"https://api.github.com/users/monooso/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/monooso/news.singlestory.app","description":"Get the one news story that matters most, delivered straight to your inbox.","fork":false,"url":"https://api.github.com/repos/monooso/news.singlestory.app","forks_url":"https://api.github.com/repos/monooso/news.singlestory.app/forks","keys_url":"https://api.github.com/repos/monooso/news.singlestory.app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/monooso/news.singlestory.app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/monooso/news.singlestory.app/teams","hooks_url":"https://api.github.com/repos/monooso/news.singlestory.app/hooks","issue_events_url":"https://api.github.com/repos/monooso/news.singlestory.app/issues/events{/number}","events_url":"https://api.github.com/repos/monooso/news.singlestory.app/events","assignees_url":"https://api.github.com/repos/monooso/news.singlestory.app/assignees{/user}","branches_url":"https://api.github.com/repos/monooso/news.singlestory.app/branches{/branch}","tags_url":"https://api.github.com/repos/monooso/news.singlestory.app/tags","blobs_url":"https://api.github.com/repos/monooso/news.singlestory.app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/monooso/news.singlestory.app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/monooso/news.singlestory.app/git/refs{/sha}","trees_url":"https://api.github.com/repos/monooso/news.singlestory.app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/monooso/news.singlestory.app/statuses/{sha}","languages_url":"https://api.github.com/repos/monooso/news.singlestory.app/languages","stargazers_url":"https://api.github.com/repos/monooso/news.singlestory.app/stargazers","contributors_url":"https://api.github.com/repos/monooso/news.singlestory.app/contributors","subscribers_url":"https://api.github.com/repos/monooso/news.singlestory.app/subscribers","subscription_url":"https://api.github.com/repos/monooso/news.singlestory.app/subscription","commits_url":"https://api.github.com/repos/monooso/news.singlestory.app/commits{/sha}","git_commits_url":"https://api.github.com/repos/monooso/news.singlestory.app/git/commits{/sha}","comments_url":"https://api.github.com/repos/monooso/news.singlestory.app/comments{/number}","issue_comment_url":"https://api.github.com/repos/monooso/news.singlestory.app/issues/comments{/number}","contents_url":"https://api.github.com/repos/monooso/news.singlestory.app/contents/{+path}","compare_url":"https://api.github.com/repos/monooso/news.singlestory.app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/monooso/news.singlestory.app/merges","archive_url":"https://api.github.com/repos/monooso/news.singlestory.app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/monooso/news.singlestory.app/downloads","issues_url":"https://api.github.com/repos/monooso/news.singlestory.app/issues{/number}","pulls_url":"https://api.github.com/repos/monooso/news.singlestory.app/pulls{/number}","milestones_url":"https://api.github.com/repos/monooso/news.singlestory.app/milestones{/number}","notifications_url":"https://api.github.com/repos/monooso/news.singlestory.app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/monooso/news.singlestory.app/labels{/name}","releases_url":"https://api.github.com/repos/monooso/news.singlestory.app/releases{/id}","deployments_url":"https://api.github.com/repos/monooso/news.singlestory.app/deployments","created_at":"2017-11-10T22:34:14Z","updated_at":"2017-11-29T19:19:37Z","pushed_at":"2017-12-24T10:29:00Z","git_url":"git://github.com/monooso/news.singlestory.app.git","ssh_url":"git@github.com:monooso/news.singlestory.app.git","clone_url":"https://github.com/monooso/news.singlestory.app.git","svn_url":"https://github.com/monooso/news.singlestory.app","homepage":"https://singlestory.news","size":1453,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":7,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/monooso/news.singlestory.app/pulls/32"},"html":{"href":"https://github.com/monooso/news.singlestory.app/pull/32"},"issue":{"href":"https://api.github.com/repos/monooso/news.singlestory.app/issues/32"},"comments":{"href":"https://api.github.com/repos/monooso/news.singlestory.app/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/monooso/news.singlestory.app/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/monooso/news.singlestory.app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/monooso/news.singlestory.app/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/monooso/news.singlestory.app/statuses/0bf6e513b528bb9b0b6293becaad946846ce741c"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"monooso","id":4369838,"avatar_url":"https://avatars3.githubusercontent.com/u/4369838?v=4","gravatar_id":"","url":"https://api.github.com/users/monooso","html_url":"https://github.com/monooso","followers_url":"https://api.github.com/users/monooso/followers","following_url":"https://api.github.com/users/monooso/following{/other_user}","gists_url":"https://api.github.com/users/monooso/gists{/gist_id}","starred_url":"https://api.github.com/users/monooso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monooso/subscriptions","organizations_url":"https://api.github.com/users/monooso/orgs","repos_url":"https://api.github.com/users/monooso/repos","events_url":"https://api.github.com/users/monooso/events{/privacy}","received_events_url":"https://api.github.com/users/monooso/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":29,"deletions":3,"changed_files":2}}
{"actor":{"display_login":"monooso"}}