{"action":"created","comment":{"url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/pulls/comments/172040897","pull_request_review_id":100998208,"id":172040897,"diff_hunk":"@@ -1,139 +1,165 @@\n-define(\n-  [\"./form-util\", \"./form-donation\", \"./form-item\"],\n-  function(util, donation, item) {\n+define([\"./form-util\", \"./form-donation\"], function (util, donation) {\n     /**\n      * Donor form fields\n      */\n-    this.dom = {\n-      button: {\n-        delete: document.getElementById(\"btn_delete_donor\"),\n-        save: document.getElementById(\"btn_save_donor\"),\n-        update: document.getElementById(\"btn_update_donor\")\n-      },\n-      input: {\n-        name: document.getElementById(\"id_donor_name\"),\n-        email: document.getElementById(\"id_email\"),\n-        telephone: document.getElementById(\"id_telephone_number\"),\n-        mobile: document.getElementById(\"id_mobile_number\"),\n-        ref: document.getElementById(\"id_customer_ref\"),\n-        needReceipt: document.getElementById(\"id_want_receipt\"),\n-        address: document.getElementById(\"id_address_line\"),\n-        city: document.getElementById(\"id_city\"),\n-        province: document.getElementById(\"id_province\"),\n-        postalCode: document.getElementById(\"id_postal_code\")\n-      }\n+    var dom = {\n+        button: {\n+            delete: document.getElementById(\"btn_delete_donor\"),\n+            save: document.getElementById(\"btn_save_donor\"),\n+            update: document.getElementById(\"btn_update_donor\")\n+        },\n+        input: {\n+            id: document.getElementById(\"id_donor_id\"),\n+            name: document.getElementById(\"id_donor_name\"),\n+            email: document.getElementById(\"id_email\"),\n+            telephone: document.getElementById(\"id_telephone_number\"),\n+            mobile: document.getElementById(\"id_mobile_number\"),\n+            ref: document.getElementById(\"id_customer_ref\"),\n+            needReceipt: document.getElementById(\"id_want_receipt\"),\n+            address: document.getElementById(\"id_address_line\"),\n+            city: document.getElementById(\"id_city\"),\n+            province: document.getElementById(\"id_province\"),\n+            postalCode: document.getElementById(\"id_postal_code\")\n+        },\n+        form: document.getElementById(\"donor_form\")\n     };\n \n-    // as per Tom Lee's request no longer calls getDonorInfo\n-    // var getDonorInfo = function(e, ui) {\n-    //   var value = (ui && ui.item && ui.item.value) || e.target.value;\n-    //\n-    //   if (!value || value == \"\") {\n-    //     setDonorForm.apply(null, null);\n-    //     return;\n-    //   }\n-    //\n-    //   if (util.check(\"name\", value)) return;\n-    //\n-    //   console.log(value);\n-    //\n-    //   $.ajax({\n-    //     type: \"GET\",\n-    //     url: \"/api/donor\",\n-    //     dataType: \"json\",\n-    //     data: {\n-    //       donor_id: 127 // TODO: Change to real donor_id\n-    //     },\n-    //     success: function() {\n-    //       setDonorForm.apply(null, arguments);\n-    //     },\n-    //     error: function() {\n-    //       console.error(arguments);\n-    //     }\n-    //   });\n-    // }.bind(this);\n-\n-    var getDonorInfo = function(e, ui) {\n-      var nameId = (ui && ui.item && ui.item.value) || e.target.value;\n-\n-      if (!nameId || nameId == \"\") {\n-        setDonorForm.apply(null, null);\n-        return;\n-      }\n-\n-      if (util.check(\"name\", nameId)) return;\n-\n-      setDonorForm(store[nameId]);\n+    var getDonorInfo = function (e, ui) {\n+        var nameId = (ui && ui.item && ui.item.value) || e.target.value;\n+\n+        if (!nameId || nameId == \"\") {\n+            setDonorForm.apply(null, null);\n+            return;\n+        }\n+\n+        if (util.check(\"name\", nameId)) return;\n+\n+        setDonorForm(store[nameId]);\n \n     }.bind(this);\n \n-    var setDonorForm = function(data) {\n-      if (!data) {\n-        util.emptyAllFields(this.input, [this.input.name]);\n-        util.setButton(this.button, \"new\");\n-\n-        // TODO\n-        donation.printDonationList([]);\n-        return;\n-      }\n-\n-      this.input.email.value = data.email;\n-      this.input.telephone.value = data.telephone_number;\n-      this.input.mobile.value = data.mobile_number;\n-      this.input.ref.value = data.customer_ref;\n-      this.input.needReceipt.value = data.want_receipt;\n-      this.input.address.value = data.address_line;\n-      this.input.city.value = data.city;\n-      this.input.province.value = data.province;\n-      this.input.postalCode.value = data.postal_code;\n-\n-      util.setButton(this.button, \"existing\");\n-\n-\n-      // TODO\n-      // $.ajax({\n-      //   type: \"GET\",\n-      //   url: \"/api/donation_list\",\n-      //   dataType: \"json\",\n-      //   data: {\n-      //     donor_id: data.id // TODO: Change to real donor_id\n-      //   },\n-      //   success: function() {\n-      //     setDonorForm.apply(null, arguments);\n-      //   },\n-      //   error: function() {\n-      //     console.error(arguments);\n-      //   }\n-      // });\n-      //\n-      // donation.printDonationList(data.donation_records);\n-    }.bind(this.dom);\n+    var setDonorForm = function (data) {\n+        if (!data) {\n+            util.emptyAllFields(this.input, [this.input.name]);\n+            util.setButton(this.button, \"new\");\n+\n+            donation.getDonation(null);\n+            return;\n+        }\n+\n+        this.input.name.value = data.donor_name;\n+        this.input.id.value = data.id;\n+        this.input.email.value = data.email;\n+        this.input.telephone.value = data.telephone_number;\n+        this.input.mobile.value = data.mobile_number;\n+        this.input.ref.value = data.customer_ref;\n+        this.input.needReceipt.value = data.want_receipt;\n+        this.input.address.value = data.address_line;\n+        this.input.city.value = data.city;\n+        this.input.province.value = data.province;\n+        this.input.postalCode.value = data.postal_code;\n+\n+        util.setButton(this.button, \"existing\");\n+\n+        donation.getDonation(data.id);\n+    }.bind(dom);\n \n     var store = {};\n+\n     /**\n      * REQUIRE: this.donor.input.name == name field\n      * EFFECT: calls for a list of names\n      */\n     function getNames(request, response) {\n-      $.ajax({\n-        url: \"/api/autocomplete_name\",\n-        dataType: \"json\",\n-        data: {\n-          key: this.dom.input.name.value\n-        },\n-        success: function(data) {\n-            store = {};\n-            data.reduce(function(store, donor) {\n+        $.ajax({\n+            url: \"/api/autocomplete_name\",\n+            dataType: \"json\",\n+            data: {\n+                key: dom.input.name.value\n+            },\n+            success: function (data) {\n+                store = {};\n+                data.reduce(function (store, donor) {\n+                    var str = donor.donor_name + ', ' + donor.id;\n+                    store[str] = donor;\n+                    return store;\n+                }, store);\n+                response(Object.keys(store));\n+            },\n+            error: function () {\n+                console.error(arguments);\n+            }\n+        });\n+    }\n+\n+    /**\n+     *\n+     */\n+    function updateDonor() {\n+\n+        var serializedData = $(dom.form).serialize();\n+        serializedData.donor_name = serializedData.donor_name.split(\",\")[0];\n+\n+        $.ajax({\n+            beforeSend: util.csrf,\n+            url: \"/api/donor\",\n+            type: \"PUT\",\n+            dataType: \"json\",\n+            data: $(dom.form).serialize(),\n+            success: function (donor) {\n+                alert('success! donor id: ' +  donor.id);\n+                store = {};\n                 var str = donor.donor_name + ', ' + donor.id;\n                 store[str] = donor;\n-                return store;\n-            }, store);\n-          response(Object.keys(store));\n-        },\n-        error: function() {\n-          console.error(arguments);\n-        }\n-      });\n+                dom.input.name.value(str);\n+            },\n+            error: function () {\n+                console.error(arguments);\n+            }\n+        });\n+    }\n+\n+    /**\n+     * delete donor using id\n+     */\n+    function deleteDonor() {\n+        $.ajax({\n+            beforeSend: util.csrf,\n+            url: \"/api/donor\",\n+            type: \"DELETE\",\n+            dataType: \"json\",\n+            data: { donor_id: form.input.id.value },\n+            success: function (donor) {\n+                alert('success!');","path":"app/static/admin/js/pages/gen_form/form-donor.js","position":252,"original_position":252,"commit_id":"ad6558203b0c5cb757a406a6c7c43eb942497530","original_commit_id":"ad6558203b0c5cb757a406a6c7c43eb942497530","user":{"login":"leesw98","id":19914676,"avatar_url":"https://avatars3.githubusercontent.com/u/19914676?v=4","gravatar_id":"","url":"https://api.github.com/users/leesw98","html_url":"https://github.com/leesw98","followers_url":"https://api.github.com/users/leesw98/followers","following_url":"https://api.github.com/users/leesw98/following{/other_user}","gists_url":"https://api.github.com/users/leesw98/gists{/gist_id}","starred_url":"https://api.github.com/users/leesw98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leesw98/subscriptions","organizations_url":"https://api.github.com/users/leesw98/orgs","repos_url":"https://api.github.com/users/leesw98/repos","events_url":"https://api.github.com/users/leesw98/events{/privacy}","received_events_url":"https://api.github.com/users/leesw98/received_events","type":"User","site_admin":false},"body":"A better alert message would be nice. Something like \"Donor [donor_name] has been successfully deleted.\"","created_at":"2018-03-04T08:27:48Z","updated_at":"2018-03-04T08:31:21Z","html_url":"https://github.com/CodeTheChangeUBC/reBOOT/pull/87#discussion_r172040897","pull_request_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/pulls/87","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/pulls/comments/172040897"},"html":{"href":"https://github.com/CodeTheChangeUBC/reBOOT/pull/87#discussion_r172040897"},"pull_request":{"href":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/pulls/87"}}},"pull_request":{"url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/pulls/87","id":170850973,"html_url":"https://github.com/CodeTheChangeUBC/reBOOT/pull/87","diff_url":"https://github.com/CodeTheChangeUBC/reBOOT/pull/87.diff","patch_url":"https://github.com/CodeTheChangeUBC/reBOOT/pull/87.patch","issue_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/issues/87","number":87,"state":"open","locked":false,"title":"[WIP] Class based views JS Endpoint Link","user":{"login":"leesw98","id":19914676,"avatar_url":"https://avatars3.githubusercontent.com/u/19914676?v=4","gravatar_id":"","url":"https://api.github.com/users/leesw98","html_url":"https://github.com/leesw98","followers_url":"https://api.github.com/users/leesw98/followers","following_url":"https://api.github.com/users/leesw98/following{/other_user}","gists_url":"https://api.github.com/users/leesw98/gists{/gist_id}","starred_url":"https://api.github.com/users/leesw98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leesw98/subscriptions","organizations_url":"https://api.github.com/users/leesw98/orgs","repos_url":"https://api.github.com/users/leesw98/repos","events_url":"https://api.github.com/users/leesw98/events{/privacy}","received_events_url":"https://api.github.com/users/leesw98/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-22T19:59:36Z","updated_at":"2018-03-04T08:31:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f112e0ac46ec3df176a49a8a3fc7eb707d2c90fd","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/pulls/87/commits","review_comments_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/pulls/87/comments","review_comment_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/issues/87/comments","statuses_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/statuses/ad6558203b0c5cb757a406a6c7c43eb942497530","head":{"label":"CodeTheChangeUBC:class-based-views","ref":"class-based-views","sha":"ad6558203b0c5cb757a406a6c7c43eb942497530","user":{"login":"CodeTheChangeUBC","id":17996804,"avatar_url":"https://avatars1.githubusercontent.com/u/17996804?v=4","gravatar_id":"","url":"https://api.github.com/users/CodeTheChangeUBC","html_url":"https://github.com/CodeTheChangeUBC","followers_url":"https://api.github.com/users/CodeTheChangeUBC/followers","following_url":"https://api.github.com/users/CodeTheChangeUBC/following{/other_user}","gists_url":"https://api.github.com/users/CodeTheChangeUBC/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeTheChangeUBC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeTheChangeUBC/subscriptions","organizations_url":"https://api.github.com/users/CodeTheChangeUBC/orgs","repos_url":"https://api.github.com/users/CodeTheChangeUBC/repos","events_url":"https://api.github.com/users/CodeTheChangeUBC/events{/privacy}","received_events_url":"https://api.github.com/users/CodeTheChangeUBC/received_events","type":"Organization","site_admin":false},"repo":{"id":106762568,"name":"reBOOT","full_name":"CodeTheChangeUBC/reBOOT","owner":{"login":"CodeTheChangeUBC","id":17996804,"avatar_url":"https://avatars1.githubusercontent.com/u/17996804?v=4","gravatar_id":"","url":"https://api.github.com/users/CodeTheChangeUBC","html_url":"https://github.com/CodeTheChangeUBC","followers_url":"https://api.github.com/users/CodeTheChangeUBC/followers","following_url":"https://api.github.com/users/CodeTheChangeUBC/following{/other_user}","gists_url":"https://api.github.com/users/CodeTheChangeUBC/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeTheChangeUBC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeTheChangeUBC/subscriptions","organizations_url":"https://api.github.com/users/CodeTheChangeUBC/orgs","repos_url":"https://api.github.com/users/CodeTheChangeUBC/repos","events_url":"https://api.github.com/users/CodeTheChangeUBC/events{/privacy}","received_events_url":"https://api.github.com/users/CodeTheChangeUBC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CodeTheChangeUBC/reBOOT","description":"Development Repository for reBOOT Canada!","fork":false,"url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT","forks_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/forks","keys_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/teams","hooks_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/hooks","issue_events_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/issues/events{/number}","events_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/events","assignees_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/assignees{/user}","branches_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/branches{/branch}","tags_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/tags","blobs_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/git/refs{/sha}","trees_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/statuses/{sha}","languages_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/languages","stargazers_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/stargazers","contributors_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/contributors","subscribers_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/subscribers","subscription_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/subscription","commits_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/commits{/sha}","git_commits_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/git/commits{/sha}","comments_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/comments{/number}","issue_comment_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/issues/comments{/number}","contents_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/contents/{+path}","compare_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/merges","archive_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/downloads","issues_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/issues{/number}","pulls_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/pulls{/number}","milestones_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/milestones{/number}","notifications_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/labels{/name}","releases_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/releases{/id}","deployments_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/deployments","created_at":"2017-10-13T01:22:05Z","updated_at":"2018-02-18T03:47:01Z","pushed_at":"2018-03-04T08:14:59Z","git_url":"git://github.com/CodeTheChangeUBC/reBOOT.git","ssh_url":"git@github.com:CodeTheChangeUBC/reBOOT.git","clone_url":"https://github.com/CodeTheChangeUBC/reBOOT.git","svn_url":"https://github.com/CodeTheChangeUBC/reBOOT","homepage":"","size":985,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":10,"watchers":4,"default_branch":"master"}},"base":{"label":"CodeTheChangeUBC:master","ref":"master","sha":"3723afff79a2946717580038de00a0ea77401643","user":{"login":"CodeTheChangeUBC","id":17996804,"avatar_url":"https://avatars1.githubusercontent.com/u/17996804?v=4","gravatar_id":"","url":"https://api.github.com/users/CodeTheChangeUBC","html_url":"https://github.com/CodeTheChangeUBC","followers_url":"https://api.github.com/users/CodeTheChangeUBC/followers","following_url":"https://api.github.com/users/CodeTheChangeUBC/following{/other_user}","gists_url":"https://api.github.com/users/CodeTheChangeUBC/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeTheChangeUBC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeTheChangeUBC/subscriptions","organizations_url":"https://api.github.com/users/CodeTheChangeUBC/orgs","repos_url":"https://api.github.com/users/CodeTheChangeUBC/repos","events_url":"https://api.github.com/users/CodeTheChangeUBC/events{/privacy}","received_events_url":"https://api.github.com/users/CodeTheChangeUBC/received_events","type":"Organization","site_admin":false},"repo":{"id":106762568,"name":"reBOOT","full_name":"CodeTheChangeUBC/reBOOT","owner":{"login":"CodeTheChangeUBC","id":17996804,"avatar_url":"https://avatars1.githubusercontent.com/u/17996804?v=4","gravatar_id":"","url":"https://api.github.com/users/CodeTheChangeUBC","html_url":"https://github.com/CodeTheChangeUBC","followers_url":"https://api.github.com/users/CodeTheChangeUBC/followers","following_url":"https://api.github.com/users/CodeTheChangeUBC/following{/other_user}","gists_url":"https://api.github.com/users/CodeTheChangeUBC/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeTheChangeUBC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeTheChangeUBC/subscriptions","organizations_url":"https://api.github.com/users/CodeTheChangeUBC/orgs","repos_url":"https://api.github.com/users/CodeTheChangeUBC/repos","events_url":"https://api.github.com/users/CodeTheChangeUBC/events{/privacy}","received_events_url":"https://api.github.com/users/CodeTheChangeUBC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CodeTheChangeUBC/reBOOT","description":"Development Repository for reBOOT Canada!","fork":false,"url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT","forks_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/forks","keys_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/teams","hooks_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/hooks","issue_events_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/issues/events{/number}","events_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/events","assignees_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/assignees{/user}","branches_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/branches{/branch}","tags_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/tags","blobs_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/git/refs{/sha}","trees_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/statuses/{sha}","languages_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/languages","stargazers_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/stargazers","contributors_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/contributors","subscribers_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/subscribers","subscription_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/subscription","commits_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/commits{/sha}","git_commits_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/git/commits{/sha}","comments_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/comments{/number}","issue_comment_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/issues/comments{/number}","contents_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/contents/{+path}","compare_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/merges","archive_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/downloads","issues_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/issues{/number}","pulls_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/pulls{/number}","milestones_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/milestones{/number}","notifications_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/labels{/name}","releases_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/releases{/id}","deployments_url":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/deployments","created_at":"2017-10-13T01:22:05Z","updated_at":"2018-02-18T03:47:01Z","pushed_at":"2018-03-04T08:14:59Z","git_url":"git://github.com/CodeTheChangeUBC/reBOOT.git","ssh_url":"git@github.com:CodeTheChangeUBC/reBOOT.git","clone_url":"https://github.com/CodeTheChangeUBC/reBOOT.git","svn_url":"https://github.com/CodeTheChangeUBC/reBOOT","homepage":"","size":985,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":10,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/pulls/87"},"html":{"href":"https://github.com/CodeTheChangeUBC/reBOOT/pull/87"},"issue":{"href":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/issues/87"},"comments":{"href":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/issues/87/comments"},"review_comments":{"href":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/pulls/87/comments"},"review_comment":{"href":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/pulls/87/commits"},"statuses":{"href":"https://api.github.com/repos/CodeTheChangeUBC/reBOOT/statuses/ad6558203b0c5cb757a406a6c7c43eb942497530"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"leesw98"}}