{"action":"created","comment":{"url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/pulls/comments/214987528","pull_request_review_id":152155857,"id":214987528,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNDk4NzUyOA==","diff_hunk":"@@ -0,0 +1,387 @@\n+//\n+//  InboxTaskController.swift\n+//  TodoApp\n+//\n+//  Created by vitali on 8/16/18.\n+//  Copyright © 2018 vitcopr. All rights reserved.\n+//\n+\n+import UIKit\n+\n+fileprivate struct Const {\n+    static let sectionDateFormat = \"dd.MM.yyyy\"\n+    static let noReminderSectionTitle = \"No reminder\"\n+}\n+\n+class InboxTaskController: UIViewController {\n+    \n+    //MARK: - Properties\n+    \n+    @IBOutlet weak var sortTypeSegmentedControl: UISegmentedControl!\n+    @IBOutlet weak var tableView: UITableView!\n+    \n+    \n+    \n+    private var sortOrder: InboxSorting = .byDate(ascend: true)\n+    \n+    \n+    \n+    private var allTasks: [Task]!\n+    private var allCategories: [TaskCategory]!\n+    \n+    private var groupedItems: [(String, [Task])]!\n+    private var withoutGroup: (String, [Task])!\n+    \n+    \n+    \n+    private var sectionDateFormatter: DateFormatter = {\n+        let dateFormatter = DateFormatter()\n+        dateFormatter.dateFormat = Const.sectionDateFormat\n+        return dateFormatter\n+    }()\n+    \n+    \n+    //MARK: - Lifecycle methods\n+    \n+    override func viewDidLoad() {\n+        super.viewDidLoad()\n+        navigationItem.leftBarButtonItem = editButtonItem\n+        loadData()\n+        groupTasks()\n+        sortTasks(by: sortOrder)\n+        configureTableView()\n+        tableView.reloadData()\n+    }\n+    \n+    override func setEditing(_ editing: Bool, animated: Bool) {\n+        super.setEditing(editing, animated: animated)\n+        tableView.setEditing(editing, animated: animated)\n+    }\n+    \n+    \n+    //MARK: - Navigation\n+    \n+    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {\n+        if segue.identifier == Consts.Identifiers.showAddTaskSegue {\n+            if let destination = segue.destination as? AddTaskController {\n+                destination.addTaskSaveDelegate = self\n+            }\n+        }\n+    }\n+    \n+    \n+    //MARK: - Private Methods\n+    \n+    \n+    private func configureTableView(){\n+        let nib = UINib(nibName: Consts.Nibs.taskCell, bundle: nil)\n+        tableView.register(nib, forCellReuseIdentifier: Consts.Identifiers.taskCell)\n+        tableView.tableFooterView = UIView()\n+        tableView.dataSource = self\n+        tableView.delegate = self\n+    }\n+    \n+    private func loadData(){\n+        allTasks = TaskService.shared.allTasks()\n+        allCategories = TaskService.shared.allCategories()\n+    }\n+    \n+    private func groupTasks(){\n+        switch sortOrder {\n+        case .byDate(ascend: _):\n+            let withReminder = allTasks.filter({ $0.isReminded })\n+            let withoutReminder = allTasks.filter({ !$0.isReminded })\n+            withoutGroup = (Const.noReminderSectionTitle, withoutReminder)\n+            groupedItems = groupByRemindDate(tasksWithReminder: withReminder)\n+        case .byGroup(ascend: _):\n+            groupedItems = groupByCategory(categories: allCategories)\n+        }\n+    }\n+    \n+    private func reloadData(){\n+        loadData()\n+        groupTasks()\n+        sortTasks(by: sortOrder)\n+        tableView.reloadData()\n+    }\n+    \n+    \n+    private func group<T, K: Hashable>(items: [(K, T)], by comparator: ((K, K) -> Bool)) -> [K: [T]] {\n+        var groupedItems: [K: [T]] = [K: [T]]()\n+        \n+        for (keyToGroup, item) in items {\n+            if let index = groupedItems.keys.index(where: { comparator($0, keyToGroup) }) {\n+                let key = groupedItems.keys[index]\n+                groupedItems[key]!.append(item)\n+            } else {\n+                groupedItems[keyToGroup] = [item]\n+            }\n+        }\n+        return groupedItems\n+    }\n+    \n+    \n+    private func groupByCategory(categories: [TaskCategory]) -> [(String, [Task])]{\n+        var items = [(String, Task)]()\n+        for category in categories {\n+            for task in category.allTasks() {\n+                let item = (category.name, task)\n+                items.append(item)\n+            }\n+        }\n+        return group(items: items, by: { $0 == $1 }).map({ (key, value) in (key, value) })\n+    }\n+    \n+    \n+    private func groupByRemindDate(tasksWithReminder: [Task]) -> [(String, [Task])] {\n+        var items = [(Date, Task)]()\n+        for task in tasksWithReminder {\n+            let item = (task.remindDate!, task)\n+            items.append(item)\n+        }\n+        \n+        let grouped = group(items: items, by: { $0.compareByDayGranularity(other: $1)})\n+        var result = [String: [Task]]()\n+        for (key, value) in grouped {\n+            result[key.formattedString()] = value\n+        }\n+        return grouped.map({ (key, value) in (key.formattedString(), value)})\n+    }\n+    \n+    \n+    private func taskFor(indexPath: IndexPath) -> Task {\n+        switch sortOrder {\n+        case .byDate(_):\n+            if indexPath.section == (numberOfSections(in: tableView) - 1) {\n+                return withoutGroup.1[indexPath.row]\n+            } else {\n+                return groupedItems[indexPath.section].1[indexPath.row]\n+            }\n+        case .byGroup(_):\n+            return groupedItems[indexPath.section].1[indexPath.row]\n+        }\n+    }\n+    \n+    private func sortTasks(by sortOrder: InboxSorting) {\n+        switch sortOrder {\n+        case .byDate(let ascend) where ascend == true:","path":"TodoApp/Controllers/InboxTaskController.swift","position":167,"original_position":167,"commit_id":"4baf9f9415deac78c9460b08406e58b7198e287a","original_commit_id":"4baf9f9415deac78c9460b08406e58b7198e287a","user":{"login":"Noegon","id":16186884,"node_id":"MDQ6VXNlcjE2MTg2ODg0","avatar_url":"https://avatars3.githubusercontent.com/u/16186884?v=4","gravatar_id":"","url":"https://api.github.com/users/Noegon","html_url":"https://github.com/Noegon","followers_url":"https://api.github.com/users/Noegon/followers","following_url":"https://api.github.com/users/Noegon/following{/other_user}","gists_url":"https://api.github.com/users/Noegon/gists{/gist_id}","starred_url":"https://api.github.com/users/Noegon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Noegon/subscriptions","organizations_url":"https://api.github.com/users/Noegon/orgs","repos_url":"https://api.github.com/users/Noegon/repos","events_url":"https://api.github.com/users/Noegon/events{/privacy}","received_events_url":"https://api.github.com/users/Noegon/received_events","type":"User","site_admin":false},"body":"Дублируется код","created_at":"2018-09-04T16:44:55Z","updated_at":"2018-09-04T16:49:46Z","html_url":"https://github.com/VitaliyZaharenko/TodoApp/pull/7#discussion_r214987528","pull_request_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/pulls/7","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/pulls/comments/214987528"},"html":{"href":"https://github.com/VitaliyZaharenko/TodoApp/pull/7#discussion_r214987528"},"pull_request":{"href":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/pulls/7","id":212054697,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyMDU0Njk3","html_url":"https://github.com/VitaliyZaharenko/TodoApp/pull/7","diff_url":"https://github.com/VitaliyZaharenko/TodoApp/pull/7.diff","patch_url":"https://github.com/VitaliyZaharenko/TodoApp/pull/7.patch","issue_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/issues/7","number":7,"state":"open","locked":false,"title":"Feature/todo 1.3","user":{"login":"VitaliyZaharenko","id":15096278,"node_id":"MDQ6VXNlcjE1MDk2Mjc4","avatar_url":"https://avatars1.githubusercontent.com/u/15096278?v=4","gravatar_id":"","url":"https://api.github.com/users/VitaliyZaharenko","html_url":"https://github.com/VitaliyZaharenko","followers_url":"https://api.github.com/users/VitaliyZaharenko/followers","following_url":"https://api.github.com/users/VitaliyZaharenko/following{/other_user}","gists_url":"https://api.github.com/users/VitaliyZaharenko/gists{/gist_id}","starred_url":"https://api.github.com/users/VitaliyZaharenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VitaliyZaharenko/subscriptions","organizations_url":"https://api.github.com/users/VitaliyZaharenko/orgs","repos_url":"https://api.github.com/users/VitaliyZaharenko/repos","events_url":"https://api.github.com/users/VitaliyZaharenko/events{/privacy}","received_events_url":"https://api.github.com/users/VitaliyZaharenko/received_events","type":"User","site_admin":false},"body":"Implemented Search Screen.","created_at":"2018-08-30T12:02:37Z","updated_at":"2018-09-04T16:49:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"11440021965d4683a334c4e19d00a5ecadd98497","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/pulls/7/commits","review_comments_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/pulls/7/comments","review_comment_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/issues/7/comments","statuses_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/statuses/4baf9f9415deac78c9460b08406e58b7198e287a","head":{"label":"VitaliyZaharenko:feature/todo-1.3","ref":"feature/todo-1.3","sha":"4baf9f9415deac78c9460b08406e58b7198e287a","user":{"login":"VitaliyZaharenko","id":15096278,"node_id":"MDQ6VXNlcjE1MDk2Mjc4","avatar_url":"https://avatars1.githubusercontent.com/u/15096278?v=4","gravatar_id":"","url":"https://api.github.com/users/VitaliyZaharenko","html_url":"https://github.com/VitaliyZaharenko","followers_url":"https://api.github.com/users/VitaliyZaharenko/followers","following_url":"https://api.github.com/users/VitaliyZaharenko/following{/other_user}","gists_url":"https://api.github.com/users/VitaliyZaharenko/gists{/gist_id}","starred_url":"https://api.github.com/users/VitaliyZaharenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VitaliyZaharenko/subscriptions","organizations_url":"https://api.github.com/users/VitaliyZaharenko/orgs","repos_url":"https://api.github.com/users/VitaliyZaharenko/repos","events_url":"https://api.github.com/users/VitaliyZaharenko/events{/privacy}","received_events_url":"https://api.github.com/users/VitaliyZaharenko/received_events","type":"User","site_admin":false},"repo":{"id":143522812,"node_id":"MDEwOlJlcG9zaXRvcnkxNDM1MjI4MTI=","name":"TodoApp","full_name":"VitaliyZaharenko/TodoApp","owner":{"login":"VitaliyZaharenko","id":15096278,"node_id":"MDQ6VXNlcjE1MDk2Mjc4","avatar_url":"https://avatars1.githubusercontent.com/u/15096278?v=4","gravatar_id":"","url":"https://api.github.com/users/VitaliyZaharenko","html_url":"https://github.com/VitaliyZaharenko","followers_url":"https://api.github.com/users/VitaliyZaharenko/followers","following_url":"https://api.github.com/users/VitaliyZaharenko/following{/other_user}","gists_url":"https://api.github.com/users/VitaliyZaharenko/gists{/gist_id}","starred_url":"https://api.github.com/users/VitaliyZaharenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VitaliyZaharenko/subscriptions","organizations_url":"https://api.github.com/users/VitaliyZaharenko/orgs","repos_url":"https://api.github.com/users/VitaliyZaharenko/repos","events_url":"https://api.github.com/users/VitaliyZaharenko/events{/privacy}","received_events_url":"https://api.github.com/users/VitaliyZaharenko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/VitaliyZaharenko/TodoApp","description":null,"fork":false,"url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp","forks_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/forks","keys_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/teams","hooks_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/hooks","issue_events_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/issues/events{/number}","events_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/events","assignees_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/assignees{/user}","branches_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/branches{/branch}","tags_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/tags","blobs_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/git/refs{/sha}","trees_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/statuses/{sha}","languages_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/languages","stargazers_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/stargazers","contributors_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/contributors","subscribers_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/subscribers","subscription_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/subscription","commits_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/commits{/sha}","git_commits_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/git/commits{/sha}","comments_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/comments{/number}","issue_comment_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/issues/comments{/number}","contents_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/contents/{+path}","compare_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/merges","archive_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/downloads","issues_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/issues{/number}","pulls_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/pulls{/number}","milestones_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/milestones{/number}","notifications_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/labels{/name}","releases_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/releases{/id}","deployments_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/deployments","created_at":"2018-08-04T11:22:50Z","updated_at":"2018-08-27T09:09:09Z","pushed_at":"2018-08-30T12:16:18Z","git_url":"git://github.com/VitaliyZaharenko/TodoApp.git","ssh_url":"git@github.com:VitaliyZaharenko/TodoApp.git","clone_url":"https://github.com/VitaliyZaharenko/TodoApp.git","svn_url":"https://github.com/VitaliyZaharenko/TodoApp","homepage":null,"size":162,"stargazers_count":0,"watchers_count":0,"language":"Swift","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":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"develop"}},"base":{"label":"VitaliyZaharenko:develop","ref":"develop","sha":"07bedec48ca6cceab9d35534d996763a7bd9928c","user":{"login":"VitaliyZaharenko","id":15096278,"node_id":"MDQ6VXNlcjE1MDk2Mjc4","avatar_url":"https://avatars1.githubusercontent.com/u/15096278?v=4","gravatar_id":"","url":"https://api.github.com/users/VitaliyZaharenko","html_url":"https://github.com/VitaliyZaharenko","followers_url":"https://api.github.com/users/VitaliyZaharenko/followers","following_url":"https://api.github.com/users/VitaliyZaharenko/following{/other_user}","gists_url":"https://api.github.com/users/VitaliyZaharenko/gists{/gist_id}","starred_url":"https://api.github.com/users/VitaliyZaharenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VitaliyZaharenko/subscriptions","organizations_url":"https://api.github.com/users/VitaliyZaharenko/orgs","repos_url":"https://api.github.com/users/VitaliyZaharenko/repos","events_url":"https://api.github.com/users/VitaliyZaharenko/events{/privacy}","received_events_url":"https://api.github.com/users/VitaliyZaharenko/received_events","type":"User","site_admin":false},"repo":{"id":143522812,"node_id":"MDEwOlJlcG9zaXRvcnkxNDM1MjI4MTI=","name":"TodoApp","full_name":"VitaliyZaharenko/TodoApp","owner":{"login":"VitaliyZaharenko","id":15096278,"node_id":"MDQ6VXNlcjE1MDk2Mjc4","avatar_url":"https://avatars1.githubusercontent.com/u/15096278?v=4","gravatar_id":"","url":"https://api.github.com/users/VitaliyZaharenko","html_url":"https://github.com/VitaliyZaharenko","followers_url":"https://api.github.com/users/VitaliyZaharenko/followers","following_url":"https://api.github.com/users/VitaliyZaharenko/following{/other_user}","gists_url":"https://api.github.com/users/VitaliyZaharenko/gists{/gist_id}","starred_url":"https://api.github.com/users/VitaliyZaharenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VitaliyZaharenko/subscriptions","organizations_url":"https://api.github.com/users/VitaliyZaharenko/orgs","repos_url":"https://api.github.com/users/VitaliyZaharenko/repos","events_url":"https://api.github.com/users/VitaliyZaharenko/events{/privacy}","received_events_url":"https://api.github.com/users/VitaliyZaharenko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/VitaliyZaharenko/TodoApp","description":null,"fork":false,"url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp","forks_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/forks","keys_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/teams","hooks_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/hooks","issue_events_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/issues/events{/number}","events_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/events","assignees_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/assignees{/user}","branches_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/branches{/branch}","tags_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/tags","blobs_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/git/refs{/sha}","trees_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/statuses/{sha}","languages_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/languages","stargazers_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/stargazers","contributors_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/contributors","subscribers_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/subscribers","subscription_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/subscription","commits_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/commits{/sha}","git_commits_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/git/commits{/sha}","comments_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/comments{/number}","issue_comment_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/issues/comments{/number}","contents_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/contents/{+path}","compare_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/merges","archive_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/downloads","issues_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/issues{/number}","pulls_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/pulls{/number}","milestones_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/milestones{/number}","notifications_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/labels{/name}","releases_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/releases{/id}","deployments_url":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/deployments","created_at":"2018-08-04T11:22:50Z","updated_at":"2018-08-27T09:09:09Z","pushed_at":"2018-08-30T12:16:18Z","git_url":"git://github.com/VitaliyZaharenko/TodoApp.git","ssh_url":"git@github.com:VitaliyZaharenko/TodoApp.git","clone_url":"https://github.com/VitaliyZaharenko/TodoApp.git","svn_url":"https://github.com/VitaliyZaharenko/TodoApp","homepage":null,"size":162,"stargazers_count":0,"watchers_count":0,"language":"Swift","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":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/pulls/7"},"html":{"href":"https://github.com/VitaliyZaharenko/TodoApp/pull/7"},"issue":{"href":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/issues/7"},"comments":{"href":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/VitaliyZaharenko/TodoApp/statuses/4baf9f9415deac78c9460b08406e58b7198e287a"}},"author_association":"OWNER"}}
{"actor":{"display_login":"Noegon"}}