{"action":"closed","number":22,"pull_request":{"url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/pulls/22","id":181209266,"html_url":"https://github.com/gurucharanmk/express-mongoose-jwt-restful/pull/22","diff_url":"https://github.com/gurucharanmk/express-mongoose-jwt-restful/pull/22.diff","patch_url":"https://github.com/gurucharanmk/express-mongoose-jwt-restful/pull/22.patch","issue_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/issues/22","number":22,"state":"closed","locked":false,"title":"Generic filterDatabaseResult created, removed hard coded values","user":{"login":"gurucharanmk","id":4923273,"avatar_url":"https://avatars3.githubusercontent.com/u/4923273?v=4","gravatar_id":"","url":"https://api.github.com/users/gurucharanmk","html_url":"https://github.com/gurucharanmk","followers_url":"https://api.github.com/users/gurucharanmk/followers","following_url":"https://api.github.com/users/gurucharanmk/following{/other_user}","gists_url":"https://api.github.com/users/gurucharanmk/gists{/gist_id}","starred_url":"https://api.github.com/users/gurucharanmk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gurucharanmk/subscriptions","organizations_url":"https://api.github.com/users/gurucharanmk/orgs","repos_url":"https://api.github.com/users/gurucharanmk/repos","events_url":"https://api.github.com/users/gurucharanmk/events{/privacy}","received_events_url":"https://api.github.com/users/gurucharanmk/received_events","type":"User","site_admin":false},"body":"This code push removes the hard coded keys being present in filterDatabaseResult.\r\nThis allows the scalability, so that it can be used in other database queries.\r\nFixes #19 ","created_at":"2018-04-12T13:48:40Z","updated_at":"2018-04-12T13:49:01Z","closed_at":"2018-04-12T13:49:01Z","merged_at":"2018-04-12T13:49:01Z","merge_commit_sha":"7ce4f10eafc7710ad1a1241b98eff00779f8b87c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/pulls/22/commits","review_comments_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/pulls/22/comments","review_comment_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/issues/22/comments","statuses_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/statuses/872472f8ebd0825c4d942a6a11e7318b9030e29c","head":{"label":"gurucharanmk:develop-response-bugix","ref":"develop-response-bugix","sha":"872472f8ebd0825c4d942a6a11e7318b9030e29c","user":{"login":"gurucharanmk","id":4923273,"avatar_url":"https://avatars3.githubusercontent.com/u/4923273?v=4","gravatar_id":"","url":"https://api.github.com/users/gurucharanmk","html_url":"https://github.com/gurucharanmk","followers_url":"https://api.github.com/users/gurucharanmk/followers","following_url":"https://api.github.com/users/gurucharanmk/following{/other_user}","gists_url":"https://api.github.com/users/gurucharanmk/gists{/gist_id}","starred_url":"https://api.github.com/users/gurucharanmk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gurucharanmk/subscriptions","organizations_url":"https://api.github.com/users/gurucharanmk/orgs","repos_url":"https://api.github.com/users/gurucharanmk/repos","events_url":"https://api.github.com/users/gurucharanmk/events{/privacy}","received_events_url":"https://api.github.com/users/gurucharanmk/received_events","type":"User","site_admin":false},"repo":{"id":125143452,"name":"express-mongoose-jwt-restful","full_name":"gurucharanmk/express-mongoose-jwt-restful","owner":{"login":"gurucharanmk","id":4923273,"avatar_url":"https://avatars3.githubusercontent.com/u/4923273?v=4","gravatar_id":"","url":"https://api.github.com/users/gurucharanmk","html_url":"https://github.com/gurucharanmk","followers_url":"https://api.github.com/users/gurucharanmk/followers","following_url":"https://api.github.com/users/gurucharanmk/following{/other_user}","gists_url":"https://api.github.com/users/gurucharanmk/gists{/gist_id}","starred_url":"https://api.github.com/users/gurucharanmk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gurucharanmk/subscriptions","organizations_url":"https://api.github.com/users/gurucharanmk/orgs","repos_url":"https://api.github.com/users/gurucharanmk/repos","events_url":"https://api.github.com/users/gurucharanmk/events{/privacy}","received_events_url":"https://api.github.com/users/gurucharanmk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gurucharanmk/express-mongoose-jwt-restful","description":"A RESTful API implementation using express and mongoose with JWT secured endpoints","fork":false,"url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful","forks_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/forks","keys_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/teams","hooks_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/hooks","issue_events_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/issues/events{/number}","events_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/events","assignees_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/assignees{/user}","branches_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/branches{/branch}","tags_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/tags","blobs_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/git/refs{/sha}","trees_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/statuses/{sha}","languages_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/languages","stargazers_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/stargazers","contributors_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/contributors","subscribers_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/subscribers","subscription_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/subscription","commits_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/commits{/sha}","git_commits_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/git/commits{/sha}","comments_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/comments{/number}","issue_comment_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/issues/comments{/number}","contents_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/contents/{+path}","compare_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/merges","archive_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/downloads","issues_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/issues{/number}","pulls_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/pulls{/number}","milestones_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/milestones{/number}","notifications_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/labels{/name}","releases_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/releases{/id}","deployments_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/deployments","created_at":"2018-03-14T02:26:30Z","updated_at":"2018-04-12T01:01:38Z","pushed_at":"2018-04-12T13:49:01Z","git_url":"git://github.com/gurucharanmk/express-mongoose-jwt-restful.git","ssh_url":"git@github.com:gurucharanmk/express-mongoose-jwt-restful.git","clone_url":"https://github.com/gurucharanmk/express-mongoose-jwt-restful.git","svn_url":"https://github.com/gurucharanmk/express-mongoose-jwt-restful","homepage":"","size":78,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"gurucharanmk:master","ref":"master","sha":"940679fbaad313a0b825e3332902d2b6a67d8546","user":{"login":"gurucharanmk","id":4923273,"avatar_url":"https://avatars3.githubusercontent.com/u/4923273?v=4","gravatar_id":"","url":"https://api.github.com/users/gurucharanmk","html_url":"https://github.com/gurucharanmk","followers_url":"https://api.github.com/users/gurucharanmk/followers","following_url":"https://api.github.com/users/gurucharanmk/following{/other_user}","gists_url":"https://api.github.com/users/gurucharanmk/gists{/gist_id}","starred_url":"https://api.github.com/users/gurucharanmk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gurucharanmk/subscriptions","organizations_url":"https://api.github.com/users/gurucharanmk/orgs","repos_url":"https://api.github.com/users/gurucharanmk/repos","events_url":"https://api.github.com/users/gurucharanmk/events{/privacy}","received_events_url":"https://api.github.com/users/gurucharanmk/received_events","type":"User","site_admin":false},"repo":{"id":125143452,"name":"express-mongoose-jwt-restful","full_name":"gurucharanmk/express-mongoose-jwt-restful","owner":{"login":"gurucharanmk","id":4923273,"avatar_url":"https://avatars3.githubusercontent.com/u/4923273?v=4","gravatar_id":"","url":"https://api.github.com/users/gurucharanmk","html_url":"https://github.com/gurucharanmk","followers_url":"https://api.github.com/users/gurucharanmk/followers","following_url":"https://api.github.com/users/gurucharanmk/following{/other_user}","gists_url":"https://api.github.com/users/gurucharanmk/gists{/gist_id}","starred_url":"https://api.github.com/users/gurucharanmk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gurucharanmk/subscriptions","organizations_url":"https://api.github.com/users/gurucharanmk/orgs","repos_url":"https://api.github.com/users/gurucharanmk/repos","events_url":"https://api.github.com/users/gurucharanmk/events{/privacy}","received_events_url":"https://api.github.com/users/gurucharanmk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gurucharanmk/express-mongoose-jwt-restful","description":"A RESTful API implementation using express and mongoose with JWT secured endpoints","fork":false,"url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful","forks_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/forks","keys_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/teams","hooks_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/hooks","issue_events_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/issues/events{/number}","events_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/events","assignees_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/assignees{/user}","branches_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/branches{/branch}","tags_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/tags","blobs_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/git/refs{/sha}","trees_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/statuses/{sha}","languages_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/languages","stargazers_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/stargazers","contributors_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/contributors","subscribers_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/subscribers","subscription_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/subscription","commits_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/commits{/sha}","git_commits_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/git/commits{/sha}","comments_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/comments{/number}","issue_comment_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/issues/comments{/number}","contents_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/contents/{+path}","compare_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/merges","archive_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/downloads","issues_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/issues{/number}","pulls_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/pulls{/number}","milestones_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/milestones{/number}","notifications_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/labels{/name}","releases_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/releases{/id}","deployments_url":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/deployments","created_at":"2018-03-14T02:26:30Z","updated_at":"2018-04-12T01:01:38Z","pushed_at":"2018-04-12T13:49:01Z","git_url":"git://github.com/gurucharanmk/express-mongoose-jwt-restful.git","ssh_url":"git@github.com:gurucharanmk/express-mongoose-jwt-restful.git","clone_url":"https://github.com/gurucharanmk/express-mongoose-jwt-restful.git","svn_url":"https://github.com/gurucharanmk/express-mongoose-jwt-restful","homepage":"","size":78,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/pulls/22"},"html":{"href":"https://github.com/gurucharanmk/express-mongoose-jwt-restful/pull/22"},"issue":{"href":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/issues/22"},"comments":{"href":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/gurucharanmk/express-mongoose-jwt-restful/statuses/872472f8ebd0825c4d942a6a11e7318b9030e29c"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"gurucharanmk","id":4923273,"avatar_url":"https://avatars3.githubusercontent.com/u/4923273?v=4","gravatar_id":"","url":"https://api.github.com/users/gurucharanmk","html_url":"https://github.com/gurucharanmk","followers_url":"https://api.github.com/users/gurucharanmk/followers","following_url":"https://api.github.com/users/gurucharanmk/following{/other_user}","gists_url":"https://api.github.com/users/gurucharanmk/gists{/gist_id}","starred_url":"https://api.github.com/users/gurucharanmk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gurucharanmk/subscriptions","organizations_url":"https://api.github.com/users/gurucharanmk/orgs","repos_url":"https://api.github.com/users/gurucharanmk/repos","events_url":"https://api.github.com/users/gurucharanmk/events{/privacy}","received_events_url":"https://api.github.com/users/gurucharanmk/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":18,"deletions":13,"changed_files":2}}
{"actor":{"display_login":"gurucharanmk"}}