{"action":"created","comment":{"url":"https://api.github.com/repos/urfu-2017/webdev-task-1/pulls/comments/174191365","pull_request_review_id":103501770,"id":174191365,"diff_hunk":"@@ -0,0 +1,100 @@\n+const getNewsCategory = require('../models/getNews');\n+// const aboutAuthor = require('./aboutAuthor');\n+const getWeather = require('../models/getWeather');\n+const Widget = require('../models/Widget');\n+const numberMonth = require('../models/numberMonth');\n+const url = require('url');\n+const General = require('../models/General');\n+\n+let list = ['business', 'entertainment', 'general', 'health', 'science', 'sport', 'technology'];","path":"controllers/news.js","position":9,"original_position":9,"commit_id":"17958d6fc55e9e28a900f9f90a45a3251130ed1f","original_commit_id":"17958d6fc55e9e28a900f9f90a45a3251130ed1f","user":{"login":"spt30","id":31798669,"avatar_url":"https://avatars1.githubusercontent.com/u/31798669?v=4","gravatar_id":"","url":"https://api.github.com/users/spt30","html_url":"https://github.com/spt30","followers_url":"https://api.github.com/users/spt30/followers","following_url":"https://api.github.com/users/spt30/following{/other_user}","gists_url":"https://api.github.com/users/spt30/gists{/gist_id}","starred_url":"https://api.github.com/users/spt30/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spt30/subscriptions","organizations_url":"https://api.github.com/users/spt30/orgs","repos_url":"https://api.github.com/users/spt30/repos","events_url":"https://api.github.com/users/spt30/events{/privacy}","received_events_url":"https://api.github.com/users/spt30/received_events","type":"User","site_admin":false},"body":"было \"listOfCategories\", подумал, что длинно, поменяю на categories, почему-то не подумал","created_at":"2018-03-13T16:10:44Z","updated_at":"2018-03-13T16:10:44Z","html_url":"https://github.com/urfu-2017/webdev-task-1/pull/41#discussion_r174191365","pull_request_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/pulls/41","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/urfu-2017/webdev-task-1/pulls/comments/174191365"},"html":{"href":"https://github.com/urfu-2017/webdev-task-1/pull/41#discussion_r174191365"},"pull_request":{"href":"https://api.github.com/repos/urfu-2017/webdev-task-1/pulls/41"}},"in_reply_to_id":174055460},"pull_request":{"url":"https://api.github.com/repos/urfu-2017/webdev-task-1/pulls/41","id":173890519,"html_url":"https://github.com/urfu-2017/webdev-task-1/pull/41","diff_url":"https://github.com/urfu-2017/webdev-task-1/pull/41.diff","patch_url":"https://github.com/urfu-2017/webdev-task-1/pull/41.patch","issue_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/issues/41","number":41,"state":"open","locked":false,"title":"Тощилин Сергей","user":{"login":"spt30","id":31798669,"avatar_url":"https://avatars1.githubusercontent.com/u/31798669?v=4","gravatar_id":"","url":"https://api.github.com/users/spt30","html_url":"https://github.com/spt30","followers_url":"https://api.github.com/users/spt30/followers","following_url":"https://api.github.com/users/spt30/following{/other_user}","gists_url":"https://api.github.com/users/spt30/gists{/gist_id}","starred_url":"https://api.github.com/users/spt30/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spt30/subscriptions","organizations_url":"https://api.github.com/users/spt30/orgs","repos_url":"https://api.github.com/users/spt30/repos","events_url":"https://api.github.com/users/spt30/events{/privacy}","received_events_url":"https://api.github.com/users/spt30/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-09T00:38:35Z","updated_at":"2018-03-13T16:10:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0deff7c5b1dd95dbea5026d94b1d9a44ed40a894","assignee":{"login":"VasiliiKuznecov","id":8963033,"avatar_url":"https://avatars3.githubusercontent.com/u/8963033?v=4","gravatar_id":"","url":"https://api.github.com/users/VasiliiKuznecov","html_url":"https://github.com/VasiliiKuznecov","followers_url":"https://api.github.com/users/VasiliiKuznecov/followers","following_url":"https://api.github.com/users/VasiliiKuznecov/following{/other_user}","gists_url":"https://api.github.com/users/VasiliiKuznecov/gists{/gist_id}","starred_url":"https://api.github.com/users/VasiliiKuznecov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VasiliiKuznecov/subscriptions","organizations_url":"https://api.github.com/users/VasiliiKuznecov/orgs","repos_url":"https://api.github.com/users/VasiliiKuznecov/repos","events_url":"https://api.github.com/users/VasiliiKuznecov/events{/privacy}","received_events_url":"https://api.github.com/users/VasiliiKuznecov/received_events","type":"User","site_admin":false},"assignees":[{"login":"VasiliiKuznecov","id":8963033,"avatar_url":"https://avatars3.githubusercontent.com/u/8963033?v=4","gravatar_id":"","url":"https://api.github.com/users/VasiliiKuznecov","html_url":"https://github.com/VasiliiKuznecov","followers_url":"https://api.github.com/users/VasiliiKuznecov/followers","following_url":"https://api.github.com/users/VasiliiKuznecov/following{/other_user}","gists_url":"https://api.github.com/users/VasiliiKuznecov/gists{/gist_id}","starred_url":"https://api.github.com/users/VasiliiKuznecov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VasiliiKuznecov/subscriptions","organizations_url":"https://api.github.com/users/VasiliiKuznecov/orgs","repos_url":"https://api.github.com/users/VasiliiKuznecov/repos","events_url":"https://api.github.com/users/VasiliiKuznecov/events{/privacy}","received_events_url":"https://api.github.com/users/VasiliiKuznecov/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/pulls/41/commits","review_comments_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/pulls/41/comments","review_comment_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/pulls/comments{/number}","comments_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/issues/41/comments","statuses_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/statuses/17958d6fc55e9e28a900f9f90a45a3251130ed1f","head":{"label":"spt30:master","ref":"master","sha":"17958d6fc55e9e28a900f9f90a45a3251130ed1f","user":{"login":"spt30","id":31798669,"avatar_url":"https://avatars1.githubusercontent.com/u/31798669?v=4","gravatar_id":"","url":"https://api.github.com/users/spt30","html_url":"https://github.com/spt30","followers_url":"https://api.github.com/users/spt30/followers","following_url":"https://api.github.com/users/spt30/following{/other_user}","gists_url":"https://api.github.com/users/spt30/gists{/gist_id}","starred_url":"https://api.github.com/users/spt30/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spt30/subscriptions","organizations_url":"https://api.github.com/users/spt30/orgs","repos_url":"https://api.github.com/users/spt30/repos","events_url":"https://api.github.com/users/spt30/events{/privacy}","received_events_url":"https://api.github.com/users/spt30/received_events","type":"User","site_admin":false},"repo":{"id":123589320,"name":"webdev-task-1","full_name":"spt30/webdev-task-1","owner":{"login":"spt30","id":31798669,"avatar_url":"https://avatars1.githubusercontent.com/u/31798669?v=4","gravatar_id":"","url":"https://api.github.com/users/spt30","html_url":"https://github.com/spt30","followers_url":"https://api.github.com/users/spt30/followers","following_url":"https://api.github.com/users/spt30/following{/other_user}","gists_url":"https://api.github.com/users/spt30/gists{/gist_id}","starred_url":"https://api.github.com/users/spt30/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spt30/subscriptions","organizations_url":"https://api.github.com/users/spt30/orgs","repos_url":"https://api.github.com/users/spt30/repos","events_url":"https://api.github.com/users/spt30/events{/privacy}","received_events_url":"https://api.github.com/users/spt30/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/spt30/webdev-task-1","description":"Задача «Илон слишком занят»","fork":true,"url":"https://api.github.com/repos/spt30/webdev-task-1","forks_url":"https://api.github.com/repos/spt30/webdev-task-1/forks","keys_url":"https://api.github.com/repos/spt30/webdev-task-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spt30/webdev-task-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spt30/webdev-task-1/teams","hooks_url":"https://api.github.com/repos/spt30/webdev-task-1/hooks","issue_events_url":"https://api.github.com/repos/spt30/webdev-task-1/issues/events{/number}","events_url":"https://api.github.com/repos/spt30/webdev-task-1/events","assignees_url":"https://api.github.com/repos/spt30/webdev-task-1/assignees{/user}","branches_url":"https://api.github.com/repos/spt30/webdev-task-1/branches{/branch}","tags_url":"https://api.github.com/repos/spt30/webdev-task-1/tags","blobs_url":"https://api.github.com/repos/spt30/webdev-task-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spt30/webdev-task-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spt30/webdev-task-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/spt30/webdev-task-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spt30/webdev-task-1/statuses/{sha}","languages_url":"https://api.github.com/repos/spt30/webdev-task-1/languages","stargazers_url":"https://api.github.com/repos/spt30/webdev-task-1/stargazers","contributors_url":"https://api.github.com/repos/spt30/webdev-task-1/contributors","subscribers_url":"https://api.github.com/repos/spt30/webdev-task-1/subscribers","subscription_url":"https://api.github.com/repos/spt30/webdev-task-1/subscription","commits_url":"https://api.github.com/repos/spt30/webdev-task-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/spt30/webdev-task-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/spt30/webdev-task-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/spt30/webdev-task-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/spt30/webdev-task-1/contents/{+path}","compare_url":"https://api.github.com/repos/spt30/webdev-task-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spt30/webdev-task-1/merges","archive_url":"https://api.github.com/repos/spt30/webdev-task-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spt30/webdev-task-1/downloads","issues_url":"https://api.github.com/repos/spt30/webdev-task-1/issues{/number}","pulls_url":"https://api.github.com/repos/spt30/webdev-task-1/pulls{/number}","milestones_url":"https://api.github.com/repos/spt30/webdev-task-1/milestones{/number}","notifications_url":"https://api.github.com/repos/spt30/webdev-task-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spt30/webdev-task-1/labels{/name}","releases_url":"https://api.github.com/repos/spt30/webdev-task-1/releases{/id}","deployments_url":"https://api.github.com/repos/spt30/webdev-task-1/deployments","created_at":"2018-03-02T14:30:28Z","updated_at":"2018-03-02T14:30:30Z","pushed_at":"2018-03-09T00:37:54Z","git_url":"git://github.com/spt30/webdev-task-1.git","ssh_url":"git@github.com:spt30/webdev-task-1.git","clone_url":"https://github.com/spt30/webdev-task-1.git","svn_url":"https://github.com/spt30/webdev-task-1","homepage":null,"size":1864,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"urfu-2017:master","ref":"master","sha":"bf85b0023730ecd410cb060700ad38d578aa1f48","user":{"login":"urfu-2017","id":31925391,"avatar_url":"https://avatars1.githubusercontent.com/u/31925391?v=4","gravatar_id":"","url":"https://api.github.com/users/urfu-2017","html_url":"https://github.com/urfu-2017","followers_url":"https://api.github.com/users/urfu-2017/followers","following_url":"https://api.github.com/users/urfu-2017/following{/other_user}","gists_url":"https://api.github.com/users/urfu-2017/gists{/gist_id}","starred_url":"https://api.github.com/users/urfu-2017/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urfu-2017/subscriptions","organizations_url":"https://api.github.com/users/urfu-2017/orgs","repos_url":"https://api.github.com/users/urfu-2017/repos","events_url":"https://api.github.com/users/urfu-2017/events{/privacy}","received_events_url":"https://api.github.com/users/urfu-2017/received_events","type":"Organization","site_admin":false},"repo":{"id":123447876,"name":"webdev-task-1","full_name":"urfu-2017/webdev-task-1","owner":{"login":"urfu-2017","id":31925391,"avatar_url":"https://avatars1.githubusercontent.com/u/31925391?v=4","gravatar_id":"","url":"https://api.github.com/users/urfu-2017","html_url":"https://github.com/urfu-2017","followers_url":"https://api.github.com/users/urfu-2017/followers","following_url":"https://api.github.com/users/urfu-2017/following{/other_user}","gists_url":"https://api.github.com/users/urfu-2017/gists{/gist_id}","starred_url":"https://api.github.com/users/urfu-2017/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urfu-2017/subscriptions","organizations_url":"https://api.github.com/users/urfu-2017/orgs","repos_url":"https://api.github.com/users/urfu-2017/repos","events_url":"https://api.github.com/users/urfu-2017/events{/privacy}","received_events_url":"https://api.github.com/users/urfu-2017/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/urfu-2017/webdev-task-1","description":"Задача «Илон слишком занят»","fork":false,"url":"https://api.github.com/repos/urfu-2017/webdev-task-1","forks_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/forks","keys_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/teams","hooks_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/hooks","issue_events_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/issues/events{/number}","events_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/events","assignees_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/assignees{/user}","branches_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/branches{/branch}","tags_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/tags","blobs_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/statuses/{sha}","languages_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/languages","stargazers_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/stargazers","contributors_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/contributors","subscribers_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/subscribers","subscription_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/subscription","commits_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/contents/{+path}","compare_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/merges","archive_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/downloads","issues_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/issues{/number}","pulls_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/pulls{/number}","milestones_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/milestones{/number}","notifications_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/labels{/name}","releases_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/releases{/id}","deployments_url":"https://api.github.com/repos/urfu-2017/webdev-task-1/deployments","created_at":"2018-03-01T14:44:31Z","updated_at":"2018-03-12T14:40:50Z","pushed_at":"2018-03-13T14:32:50Z","git_url":"git://github.com/urfu-2017/webdev-task-1.git","ssh_url":"git@github.com:urfu-2017/webdev-task-1.git","clone_url":"https://github.com/urfu-2017/webdev-task-1.git","svn_url":"https://github.com/urfu-2017/webdev-task-1","homepage":null,"size":16,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":49,"mirror_url":null,"archived":false,"open_issues_count":34,"license":null,"forks":49,"open_issues":34,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/urfu-2017/webdev-task-1/pulls/41"},"html":{"href":"https://github.com/urfu-2017/webdev-task-1/pull/41"},"issue":{"href":"https://api.github.com/repos/urfu-2017/webdev-task-1/issues/41"},"comments":{"href":"https://api.github.com/repos/urfu-2017/webdev-task-1/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/urfu-2017/webdev-task-1/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/urfu-2017/webdev-task-1/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/urfu-2017/webdev-task-1/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/urfu-2017/webdev-task-1/statuses/17958d6fc55e9e28a900f9f90a45a3251130ed1f"}},"author_association":"NONE"}}
{"actor":{"display_login":"spt30"}}