{"action":"created","comment":{"url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/pulls/comments/166056069","pull_request_review_id":94084040,"id":166056069,"diff_hunk":"@@ -17,13 +16,15 @@ if (config.use_env_variable) {\n \n fs\n   .readdirSync(__dirname)\n-  .filter(file => (file.indexOf('.') !== 0) && (file !== basename) && (file.slice(-3) === '.js'))\n-  .forEach((file) => {\n-    const model = sequelize.import(path.join(__dirname, file));\n+  .filter(file => {","path":"models/index.js","position":29,"original_position":29,"commit_id":"ad7e4b0b7f7d9d59caeea513bb4903b6ef76a982","original_commit_id":"ad7e4b0b7f7d9d59caeea513bb4903b6ef76a982","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Expected parentheses around arrow function argument having a body with curly braces. (arrow-parens)](https://www.codacy.com/app/Paridhi815/piggyBank/pullRequest?prid=1304149)","created_at":"2018-02-05T18:00:16Z","updated_at":"2018-02-05T18:00:16Z","html_url":"https://github.com/TechUniv2018/Piggy-Bank/pull/31#discussion_r166056069","pull_request_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/pulls/31","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/pulls/comments/166056069"},"html":{"href":"https://github.com/TechUniv2018/Piggy-Bank/pull/31#discussion_r166056069"},"pull_request":{"href":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/pulls/31","id":167205824,"html_url":"https://github.com/TechUniv2018/Piggy-Bank/pull/31","diff_url":"https://github.com/TechUniv2018/Piggy-Bank/pull/31.diff","patch_url":"https://github.com/TechUniv2018/Piggy-Bank/pull/31.patch","issue_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/issues/31","number":31,"state":"open","locked":false,"title":"Model creation, Migrations, Seeder data and get & post requests testing","user":{"login":"surabhi8","id":35250935,"avatar_url":"https://avatars1.githubusercontent.com/u/35250935?v=4","gravatar_id":"","url":"https://api.github.com/users/surabhi8","html_url":"https://github.com/surabhi8","followers_url":"https://api.github.com/users/surabhi8/followers","following_url":"https://api.github.com/users/surabhi8/following{/other_user}","gists_url":"https://api.github.com/users/surabhi8/gists{/gist_id}","starred_url":"https://api.github.com/users/surabhi8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/surabhi8/subscriptions","organizations_url":"https://api.github.com/users/surabhi8/orgs","repos_url":"https://api.github.com/users/surabhi8/repos","events_url":"https://api.github.com/users/surabhi8/events{/privacy}","received_events_url":"https://api.github.com/users/surabhi8/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-05T17:25:22Z","updated_at":"2018-02-05T18:00:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6d5b5ff72f7e43749f5aeea4ee9b71bbb70418e3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/pulls/31/commits","review_comments_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/pulls/31/comments","review_comment_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/issues/31/comments","statuses_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/statuses/ad7e4b0b7f7d9d59caeea513bb4903b6ef76a982","head":{"label":"TechUniv2018:migrationSeederSetUp","ref":"migrationSeederSetUp","sha":"ad7e4b0b7f7d9d59caeea513bb4903b6ef76a982","user":{"login":"TechUniv2018","id":35594572,"avatar_url":"https://avatars0.githubusercontent.com/u/35594572?v=4","gravatar_id":"","url":"https://api.github.com/users/TechUniv2018","html_url":"https://github.com/TechUniv2018","followers_url":"https://api.github.com/users/TechUniv2018/followers","following_url":"https://api.github.com/users/TechUniv2018/following{/other_user}","gists_url":"https://api.github.com/users/TechUniv2018/gists{/gist_id}","starred_url":"https://api.github.com/users/TechUniv2018/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TechUniv2018/subscriptions","organizations_url":"https://api.github.com/users/TechUniv2018/orgs","repos_url":"https://api.github.com/users/TechUniv2018/repos","events_url":"https://api.github.com/users/TechUniv2018/events{/privacy}","received_events_url":"https://api.github.com/users/TechUniv2018/received_events","type":"Organization","site_admin":false},"repo":{"id":118454213,"name":"Piggy-Bank","full_name":"TechUniv2018/Piggy-Bank","owner":{"login":"TechUniv2018","id":35594572,"avatar_url":"https://avatars0.githubusercontent.com/u/35594572?v=4","gravatar_id":"","url":"https://api.github.com/users/TechUniv2018","html_url":"https://github.com/TechUniv2018","followers_url":"https://api.github.com/users/TechUniv2018/followers","following_url":"https://api.github.com/users/TechUniv2018/following{/other_user}","gists_url":"https://api.github.com/users/TechUniv2018/gists{/gist_id}","starred_url":"https://api.github.com/users/TechUniv2018/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TechUniv2018/subscriptions","organizations_url":"https://api.github.com/users/TechUniv2018/orgs","repos_url":"https://api.github.com/users/TechUniv2018/repos","events_url":"https://api.github.com/users/TechUniv2018/events{/privacy}","received_events_url":"https://api.github.com/users/TechUniv2018/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TechUniv2018/Piggy-Bank","description":null,"fork":false,"url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank","forks_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/forks","keys_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/teams","hooks_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/hooks","issue_events_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/issues/events{/number}","events_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/events","assignees_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/assignees{/user}","branches_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/branches{/branch}","tags_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/tags","blobs_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/git/refs{/sha}","trees_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/statuses/{sha}","languages_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/languages","stargazers_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/stargazers","contributors_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/contributors","subscribers_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/subscribers","subscription_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/subscription","commits_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/commits{/sha}","git_commits_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/git/commits{/sha}","comments_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/comments{/number}","issue_comment_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/issues/comments{/number}","contents_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/contents/{+path}","compare_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/merges","archive_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/downloads","issues_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/issues{/number}","pulls_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/pulls{/number}","milestones_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/milestones{/number}","notifications_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/labels{/name}","releases_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/releases{/id}","deployments_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/deployments","created_at":"2018-01-22T12:28:26Z","updated_at":"2018-02-04T11:09:46Z","pushed_at":"2018-02-05T17:25:22Z","git_url":"git://github.com/TechUniv2018/Piggy-Bank.git","ssh_url":"git@github.com:TechUniv2018/Piggy-Bank.git","clone_url":"https://github.com/TechUniv2018/Piggy-Bank.git","svn_url":"https://github.com/TechUniv2018/Piggy-Bank","homepage":null,"size":625,"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":1,"mirror_url":null,"archived":false,"open_issues_count":22,"license":null,"forks":1,"open_issues":22,"watchers":0,"default_branch":"development"}},"base":{"label":"TechUniv2018:development","ref":"development","sha":"b415b386fd8652c9d0fce218cb3d1d69e356e47b","user":{"login":"TechUniv2018","id":35594572,"avatar_url":"https://avatars0.githubusercontent.com/u/35594572?v=4","gravatar_id":"","url":"https://api.github.com/users/TechUniv2018","html_url":"https://github.com/TechUniv2018","followers_url":"https://api.github.com/users/TechUniv2018/followers","following_url":"https://api.github.com/users/TechUniv2018/following{/other_user}","gists_url":"https://api.github.com/users/TechUniv2018/gists{/gist_id}","starred_url":"https://api.github.com/users/TechUniv2018/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TechUniv2018/subscriptions","organizations_url":"https://api.github.com/users/TechUniv2018/orgs","repos_url":"https://api.github.com/users/TechUniv2018/repos","events_url":"https://api.github.com/users/TechUniv2018/events{/privacy}","received_events_url":"https://api.github.com/users/TechUniv2018/received_events","type":"Organization","site_admin":false},"repo":{"id":118454213,"name":"Piggy-Bank","full_name":"TechUniv2018/Piggy-Bank","owner":{"login":"TechUniv2018","id":35594572,"avatar_url":"https://avatars0.githubusercontent.com/u/35594572?v=4","gravatar_id":"","url":"https://api.github.com/users/TechUniv2018","html_url":"https://github.com/TechUniv2018","followers_url":"https://api.github.com/users/TechUniv2018/followers","following_url":"https://api.github.com/users/TechUniv2018/following{/other_user}","gists_url":"https://api.github.com/users/TechUniv2018/gists{/gist_id}","starred_url":"https://api.github.com/users/TechUniv2018/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TechUniv2018/subscriptions","organizations_url":"https://api.github.com/users/TechUniv2018/orgs","repos_url":"https://api.github.com/users/TechUniv2018/repos","events_url":"https://api.github.com/users/TechUniv2018/events{/privacy}","received_events_url":"https://api.github.com/users/TechUniv2018/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TechUniv2018/Piggy-Bank","description":null,"fork":false,"url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank","forks_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/forks","keys_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/teams","hooks_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/hooks","issue_events_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/issues/events{/number}","events_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/events","assignees_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/assignees{/user}","branches_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/branches{/branch}","tags_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/tags","blobs_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/git/refs{/sha}","trees_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/statuses/{sha}","languages_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/languages","stargazers_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/stargazers","contributors_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/contributors","subscribers_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/subscribers","subscription_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/subscription","commits_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/commits{/sha}","git_commits_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/git/commits{/sha}","comments_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/comments{/number}","issue_comment_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/issues/comments{/number}","contents_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/contents/{+path}","compare_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/merges","archive_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/downloads","issues_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/issues{/number}","pulls_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/pulls{/number}","milestones_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/milestones{/number}","notifications_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/labels{/name}","releases_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/releases{/id}","deployments_url":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/deployments","created_at":"2018-01-22T12:28:26Z","updated_at":"2018-02-04T11:09:46Z","pushed_at":"2018-02-05T17:25:22Z","git_url":"git://github.com/TechUniv2018/Piggy-Bank.git","ssh_url":"git@github.com:TechUniv2018/Piggy-Bank.git","clone_url":"https://github.com/TechUniv2018/Piggy-Bank.git","svn_url":"https://github.com/TechUniv2018/Piggy-Bank","homepage":null,"size":625,"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":1,"mirror_url":null,"archived":false,"open_issues_count":22,"license":null,"forks":1,"open_issues":22,"watchers":0,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/pulls/31"},"html":{"href":"https://github.com/TechUniv2018/Piggy-Bank/pull/31"},"issue":{"href":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/issues/31"},"comments":{"href":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/TechUniv2018/Piggy-Bank/statuses/ad7e4b0b7f7d9d59caeea513bb4903b6ef76a982"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"codacy-bot"}}