{"action":"created","comment":{"url":"https://api.github.com/repos/fidelisojeah/Hello-Books/pulls/comments/137563004","pull_request_review_id":61248108,"id":137563004,"diff_hunk":"@@ -0,0 +1,524 @@\n+import chai from 'chai';\n+import chaiHttp from 'chai-http';\n+import jwt from 'jsonwebtoken';\n+\n+import app from '../server';\n+\n+const should = chai.should();\n+\n+chai.use(chaiHttp);\n+const goodToken = jwt.sign({\n+  userId: 1,\n+  username: 'adminUser',\n+  firstName: 'admin',\n+  lastName: 'User',\n+  role: 'Admin',\n+}, app.settings.JsonSecret);\n+let bookId;\n+\n+describe('POST /api/v4/authors version 4', () => {\n+  before((done) => {\n+    chai.request(app).get('/api/v4/users/logout').end(done);\n+  });\n+  describe('When Valid token is provided', () => {\n+    describe('When incomplete information is provided', () => {\n+      it('should return 400 for no author firstname provided', (done) => {\n+        chai.request(app)\n+          .post('/api/v4/authors')\n+          .set('x-access-token', goodToken)\n+          .send({\n+            firstname: 'Joanne',\n+            authorDOB: '1965-07-31',\n+          })\n+          .end((err, res) => {\n+            should.exist(err);// or not\n+            res.status.should.equal(400);\n+            res.type.should.equal('application/json');\n+            res.body.status.should.eql('Unsuccessful');\n+            res.body.message.should.eql('Incomplete details');\n+            done();\n+          });\n+      });\n+      it('should return 400 for no author firstname provided', (done) => {\n+        chai.request(app)\n+          .post('/api/v4/authors')\n+          .set('x-access-token', goodToken)\n+          .send({\n+            lastname: 'Rowling',\n+            authorDOB: '1965-07-31',\n+          })\n+          .end((err, res) => {\n+            should.exist(err);// or not\n+            res.status.should.equal(400);\n+            res.type.should.equal('application/json');\n+            res.body.status.should.eql('Unsuccessful');\n+            res.body.message.should.eql('Incomplete details');\n+            done();\n+          });\n+      });\n+    });\n+    describe('When complete information is supplied', () => {\n+      it('should return 201 success', (done) => {\n+        chai.request(app)\n+          .post('/api/v4/authors')\n+          .set('x-access-token', goodToken)\n+          .send({\n+            firstname: 'Joanne',\n+            lastname: 'Rowling',\n+            authorAKA: 'J.K Rowling',\n+            authorDOB: '1965-07-31',\n+          })\n+          .end((err, res) => {\n+            should.not.exist(err);// or not\n+            res.status.should.equal(201);\n+            res.type.should.equal('application/json');\n+            res.body.status.should.eql('Success');\n+            res.body.message.should.eql('Author Created Successfully');\n+            done();\n+          });\n+      });\n+      it('should return 201 success', (done) => {\n+        chai.request(app)\n+          .post('/api/v4/authors')\n+          .set('x-access-token', goodToken)\n+          .send({\n+            firstname: 'George',\n+            lastname: 'Martin',\n+            authorAKA: 'George R.R Martin',\n+            authorDOB: '1948-09-20',\n+          })\n+          .end((err, res) => {\n+            should.not.exist(err);// or not\n+            res.status.should.equal(201);\n+            res.type.should.equal('application/json');\n+            res.body.status.should.eql('Success');\n+            res.body.message.should.eql('Author Created Successfully');\n+            done();\n+          });\n+      });\n+      it('should return 201 success', (done) => {\n+        chai.request(app)\n+          .post('/api/v4/authors')\n+          .set('x-access-token', goodToken)\n+          .send({\n+            firstname: 'Rachel',\n+            lastname: 'Cohn',\n+            authorAKA: 'Rachel Cohn',\n+            authorDOB: '1968-12-14',\n+          })\n+          .end((err, res) => {\n+            should.not.exist(err);// or not\n+            res.status.should.equal(201);\n+            res.type.should.equal('application/json');\n+            res.body.status.should.eql('Success');\n+            res.body.message.should.eql('Author Created Successfully');\n+            done();\n+          });\n+      });\n+      it('should return 201 success', (done) => {\n+        chai.request(app)\n+          .post('/api/v4/authors')\n+          .set('x-access-token', goodToken)\n+          .send({\n+            firstname: 'David',\n+            lastname: 'Levithan',\n+            authorAKA: 'David Levithan',\n+            authorDOB: '1972-09-07',\n+          })\n+          .end((err, res) => {\n+            should.not.exist(err);// or not\n+            res.status.should.equal(201);\n+            res.type.should.equal('application/json');\n+            res.body.status.should.eql('Success');\n+            res.body.message.should.eql('Author Created Successfully');\n+            done();\n+          });\n+      });\n+    });\n+  });\n+});\n+describe('POST /api/v4/books version 4', () => {\n+  describe('When a valid admin token is provided', () => {\n+    describe('When other information is incomplete', () => {\n+      it('should return 400 no book name', (done) => {\n+        chai.request(app)\n+          .post('/api/v4/books')\n+          .set('x-access-token', goodToken)\n+          .send({\n+            quantity: 1,\n+            image: 'book-image.jpg',\n+            publishyear: '1999',\n+            // bookname: 'Harry Potter and the Prisoner of Azkaban',\n+            ISBN: '0-7475-4215-5',\n+            desccription: `Harry is back at the Dursleys, \n+              where he sees on Muggle television that a \n+              prisoner named Sirius Black has escaped. \n+              Harry involuntarily inflates Aunt Marge \n+              when she comes to visit after she insults \n+              Harry and his parents.`,\n+            authorIds: '2',\n+          })\n+          .end((err, res) => {\n+            should.exist(err);// or not\n+            res.status.should.equal(400);\n+            res.type.should.equal('application/json');\n+            res.body.status.should.eql('Unsuccessful');\n+            res.body.message.should.eql('No Book Name Supplied');\n+            done();\n+          });\n+      });\n+      it('should return 400 no ISBN', (done) => {\n+        chai.request(app)\n+          .post('/api/v4/books')\n+          .set('x-access-token', goodToken)\n+          .send({\n+            quantity: 1,\n+            image: 'book-image.jpg',\n+            publishyear: '1999',\n+            bookname: 'Harry Potter and the Prisoner of Azkaban',\n+            //  ISBN: '0-7475-4215-5',\n+            desccription: `Harry is back at the Dursleys, \n+              where he sees on Muggle television that a \n+              prisoner named Sirius Black has escaped. \n+              Harry involuntarily inflates Aunt Marge \n+              when she comes to visit after she insults \n+              Harry and his parents.`,\n+            authorIds: '2',\n+          })\n+          .end((err, res) => {\n+            should.exist(err);// or not\n+            res.status.should.equal(400);\n+            res.type.should.equal('application/json');\n+            res.body.status.should.eql('Unsuccessful');\n+            res.body.message.should.eql('No ISBN Supplied');\n+            done();\n+          });\n+      });\n+      it('should return 400 no ISBN', (done) => {\n+        chai.request(app)\n+          .post('/api/v4/books')\n+          .set('x-access-token', goodToken)\n+          .send({\n+            quantity: 1,\n+            image: 'book-image.jpg',\n+            publishyear: '1999',\n+            bookname: 'Harry Potter and the Prisoner of Azkaban',\n+            ISBN: '0-7475-4215-5',\n+            authorIds: '2',\n+          })\n+          .end((err, res) => {\n+            should.exist(err);// or not\n+            res.status.should.equal(400);\n+            res.type.should.equal('application/json');\n+            res.body.status.should.eql('Unsuccessful');\n+            res.body.message.should.eql('No Description Supplied');\n+            done();\n+          });\n+      });\n+    });\n+    describe('When Complete information is provided', () => {\n+      describe('When Author Information is invalid', () => {\n+        it('should return 400 Unsuccessful for invalid author', (done) => {\n+          chai.request(app)\n+            .post('/api/v4/books')\n+            .set('x-access-token', goodToken)\n+            .send({\n+              quantity: 1,\n+              image: 'default.jpg',\n+              publishyear: '1900',\n+              bookname: 'Some book name here',\n+              ISBN: '10293716810',\n+              desccription: 'A wrong book but who cares',\n+              authorIds: 'fake', // not a number\n+            })\n+            .end((err, res) => {\n+              should.exist(err);// or not\n+              res.status.should.equal(400);\n+              res.type.should.equal('application/json');\n+              res.body.status.should.eql('Unsuccessful');\n+              res.body.message.should.eql('Invalid Authors');\n+              done();\n+            });\n+        });\n+        it('should return 400 Unsuccessful for non existent author', (done) => {\n+          chai.request(app)\n+            .post('/api/v4/books')\n+            .set('x-access-token', goodToken)\n+            .send({\n+              quantity: 1,\n+              image: 'default.jpg',\n+              publishyear: '1900',\n+              bookname: 'Some book name here',\n+              ISBN: '10293716810',\n+              description: 'A wrong book but who cares',\n+              authorIds: '999',\n+            })\n+            .end((err, res) => {\n+              should.exist(err);// or not\n+              res.status.should.equal(400);\n+              res.type.should.equal('application/json');\n+              res.body.status.should.eql('Unsuccessful');\n+              res.body.message.should.eql('No Author found');\n+              done();\n+            });\n+        });\n+      });\n+      describe('When valid information is provided', () => {\n+        it('should return 201 Book Created', (done) => {\n+          chai.request(app)\n+            .post('/api/v4/books')\n+            .set('x-access-token', goodToken)\n+            .send({\n+              quantity: 1,\n+              image: 'hppa.jpg',\n+              publishyear: '1999',\n+              bookname: 'Harry Potter and the Prisoner of Azkaban',\n+              ISBN: '0-7475-4215-5',\n+              description: `Harry is back at the Dursleys, \n+              where he sees on Muggle television that a \n+              prisoner named Sirius Black has escaped. \n+              Harry involuntarily inflates Aunt Marge \n+              when she comes to visit after she insults \n+              Harry and his parents.`,\n+              authorIds: '2',\n+            })\n+            .end((err, res) => {\n+              should.not.exist(err);// or not\n+              res.status.should.equal(201);\n+              res.type.should.equal('application/json');\n+              res.body.status.should.eql('Success');\n+              res.body.message.should.eql('Book Created Successfully');\n+              bookId = res.body.bookID;\n+              done();\n+            });\n+        });\n+        it('should return 201 Book Created for multiple authors', (done) => {\n+          chai.request(app)\n+            .post('/api/v4/books')\n+            .set('x-access-token', goodToken)\n+            .send({\n+              quantity: 1,\n+              image: 'Dash-lilly.jpg',\n+              publishyear: '2010',\n+              bookname: 'Dash & Lily\\'s Book of Dares',\n+              ISBN: '1742374662',\n+              description: `So begins the latest whirlwind \n+              romance from the bestselling authors of Nick & \n+              Norah’s Infinite Playlist. Lily has left a red \n+              notebook full of challenges on a favorite \n+              bookstore shelf, waiting for just the right \n+              guy to come along and accept its dares.`,\n+              authorIds: '5,4',\n+            })\n+            .end((err, res) => {\n+              should.not.exist(err);// or not\n+              res.status.should.equal(201);\n+              res.type.should.equal('application/json');\n+              res.body.status.should.eql('Success');\n+              res.body.message.should.eql('Book Created Successfully');\n+              done();\n+            });\n+        });\n+        describe('When duplicate information is added', () => {\n+          it('should return 400 Info', (done) => {\n+            chai.request(app)\n+              .post('/api/v4/books')\n+              .set('x-access-token', goodToken)\n+              .send({\n+                quantity: 1,\n+                image: 'Dash-lilly.jpg',\n+                publishyear: '2010',\n+                bookname: 'Dash & Lily\\'s Book of Dares',\n+                ISBN: '1742374662', // same ISBN\n+                description: `So begins the latest whirlwind \n+              romance from the bestselling authors of Nick & \n+              Norah’s Infinite Playlist. Lily has left a red \n+              notebook full of challenges on a favorite \n+              bookstore shelf, waiting for just the right \n+              guy to come along and accept its dares.`,\n+                authorIds: '5,4',\n+              })\n+              .end((err, res) => {\n+                should.exist(err);// or not\n+                res.status.should.equal(400);\n+                res.type.should.equal('application/json');\n+                res.body.status.should.eql('Unsuccessful');\n+                res.body.message.should.eql('Book Already Exists');\n+                done();\n+              });\n+          });\n+        });\n+      });\n+    });\n+  });\n+});\n+describe('PUT /api/v4/books/:bookId version 4', () => {\n+  describe('When Invalid Book Id is entered', () => {\n+    it('should return 404 Unsuccessful for wrong Book Id type', (done) => {\n+      chai.request(app)\n+        .put('/api/v4/books/a')\n+        .set('x-access-token', goodToken)\n+        .send({\n+          bookname: 'Harry Potter and the Order of the Phoenix',\n+          ISBN: '0-7475-5100-6',\n+          description: `During another summer with his Aunt \n+          Petunia and Uncle Vernon, Harry Potter and Dudley \n+          are attacked by Dementors. After using magic to \n+          save Dudley and himself, Harry is expelled from \n+          Hogwarts, but the decision is later rescinded.`,\n+          publishYear: '2000',\n+          image: 'hpop.jpg',\n+        })\n+        .end((err, res) => {\n+          should.exist(err);// or not\n+          res.status.should.equal(404);\n+          res.type.should.equal('application/json');\n+          res.body.status.should.eql('Unsuccessful');\n+          res.body.message.should.eql('Invalid Book');\n+          done();\n+        });\n+    });\n+    it('should return 404 Unsuccessful for wrong Book Id', (done) => {\n+      chai.request(app)\n+        .put('/api/v4/books/102')\n+        .set('x-access-token', goodToken)\n+        .send({\n+          bookname: 'Harry Potter and the Order of the Phoenix',\n+          ISBN: '0-7475-5100-6',\n+          description: `During another summer with his Aunt \n+          Petunia and Uncle Vernon, Harry Potter and Dudley \n+          are attacked by Dementors. After using magic to \n+          save Dudley and himself, Harry is expelled from \n+          Hogwarts, but the decision is later rescinded.`,\n+          publishYear: '2000',\n+          image: 'hpop.jpg',\n+        })\n+        .end((err, res) => {\n+          should.exist(err);\n+          res.status.should.equal(404);\n+          res.type.should.equal('application/json');\n+          res.body.status.should.eql('Unsuccessful');\n+          res.body.message.should.eql('Invalid Book');\n+          done();\n+        });\n+    });\n+  });\n+  describe('When Valid Book Id is entered', () => {\n+    describe('When no information is provided', () => {\n+      it('should return 400 Unsuccessful when no info supplied', (done) => {\n+        chai.request(app)\n+          .put(`/api/v4/books/${bookId}`)\n+          .set('x-access-token', goodToken)\n+          .end((err, res) => {\n+            should.exist(err);// or not\n+            res.status.should.equal(400);\n+            res.type.should.equal('application/json');\n+            res.body.status.should.eql('Unsuccessful');\n+            res.body.message.should.eql('No Information Supplied');\n+            done();\n+          });\n+      });\n+    });\n+    describe('When Information is provided', () => {\n+      it('should return 200 Success when ISBN changed', (done) => {\n+        chai.request(app)\n+          .put(`/api/v4/books/${bookId}`)\n+          .set('x-access-token', goodToken)\n+          .send({\n+            ISBN: '0-7475-5100-6',\n+          })\n+          .end((err, res) => {\n+            should.not.exist(err);// or not\n+            res.status.should.equal(200);\n+            res.type.should.equal('application/json');\n+            res.body.status.should.eql('Success');\n+            res.body.message.should.eql('Book Details Updated');\n+            done();\n+          });\n+      });\n+      it('should return 200 Success when published year is changed', (done) => {\n+        chai.request(app)\n+          .put(`/api/v4/books/${bookId}`)\n+          .set('x-access-token', goodToken)\n+          .send({\n+            publishYear: '2000',\n+          })\n+          .end((err, res) => {\n+            should.not.exist(err);// or not\n+            res.status.should.equal(200);\n+            res.type.should.equal('application/json');\n+            res.body.status.should.eql('Success');\n+            res.body.message.should.eql('Book Details Updated');\n+            done();\n+          });\n+      });\n+      it('should return 200 Success when book Description is changed', (done) => {","path":"test/bookprop.v4.test.js","position":455,"original_position":455,"commit_id":"ae02c1f316ec4d14c3acaebe09524fb8c6f9d803","original_commit_id":"ae02c1f316ec4d14c3acaebe09524fb8c6f9d803","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"'it' is not defined                              no-undef","created_at":"2017-09-07T14:55:56Z","updated_at":"2017-09-07T14:55:57Z","html_url":"https://github.com/fidelisojeah/Hello-Books/pull/8#discussion_r137563004","pull_request_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/pulls/8","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/fidelisojeah/Hello-Books/pulls/comments/137563004"},"html":{"href":"https://github.com/fidelisojeah/Hello-Books/pull/8#discussion_r137563004"},"pull_request":{"href":"https://api.github.com/repos/fidelisojeah/Hello-Books/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/fidelisojeah/Hello-Books/pulls/8","id":139056596,"html_url":"https://github.com/fidelisojeah/Hello-Books/pull/8","diff_url":"https://github.com/fidelisojeah/Hello-Books/pull/8.diff","patch_url":"https://github.com/fidelisojeah/Hello-Books/pull/8.patch","issue_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/issues/8","number":8,"state":"open","locked":false,"title":"Addition of token authentication and tests","user":{"login":"fidelisojeah","id":11561738,"avatar_url":"https://avatars2.githubusercontent.com/u/11561738?v=4","gravatar_id":"","url":"https://api.github.com/users/fidelisojeah","html_url":"https://github.com/fidelisojeah","followers_url":"https://api.github.com/users/fidelisojeah/followers","following_url":"https://api.github.com/users/fidelisojeah/following{/other_user}","gists_url":"https://api.github.com/users/fidelisojeah/gists{/gist_id}","starred_url":"https://api.github.com/users/fidelisojeah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fidelisojeah/subscriptions","organizations_url":"https://api.github.com/users/fidelisojeah/orgs","repos_url":"https://api.github.com/users/fidelisojeah/repos","events_url":"https://api.github.com/users/fidelisojeah/events{/privacy}","received_events_url":"https://api.github.com/users/fidelisojeah/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-09-03T18:18:54Z","updated_at":"2017-09-07T14:55:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8b7294d1ec2eef1c24fea588a5c67e05fd0070c1","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/pulls/8/commits","review_comments_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/pulls/8/comments","review_comment_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/issues/8/comments","statuses_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/statuses/ae02c1f316ec4d14c3acaebe09524fb8c6f9d803","head":{"label":"fidelisojeah:userTokenAuth","ref":"userTokenAuth","sha":"ae02c1f316ec4d14c3acaebe09524fb8c6f9d803","user":{"login":"fidelisojeah","id":11561738,"avatar_url":"https://avatars2.githubusercontent.com/u/11561738?v=4","gravatar_id":"","url":"https://api.github.com/users/fidelisojeah","html_url":"https://github.com/fidelisojeah","followers_url":"https://api.github.com/users/fidelisojeah/followers","following_url":"https://api.github.com/users/fidelisojeah/following{/other_user}","gists_url":"https://api.github.com/users/fidelisojeah/gists{/gist_id}","starred_url":"https://api.github.com/users/fidelisojeah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fidelisojeah/subscriptions","organizations_url":"https://api.github.com/users/fidelisojeah/orgs","repos_url":"https://api.github.com/users/fidelisojeah/repos","events_url":"https://api.github.com/users/fidelisojeah/events{/privacy}","received_events_url":"https://api.github.com/users/fidelisojeah/received_events","type":"User","site_admin":false},"repo":{"id":98308529,"name":"Hello-Books","full_name":"fidelisojeah/Hello-Books","owner":{"login":"fidelisojeah","id":11561738,"avatar_url":"https://avatars2.githubusercontent.com/u/11561738?v=4","gravatar_id":"","url":"https://api.github.com/users/fidelisojeah","html_url":"https://github.com/fidelisojeah","followers_url":"https://api.github.com/users/fidelisojeah/followers","following_url":"https://api.github.com/users/fidelisojeah/following{/other_user}","gists_url":"https://api.github.com/users/fidelisojeah/gists{/gist_id}","starred_url":"https://api.github.com/users/fidelisojeah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fidelisojeah/subscriptions","organizations_url":"https://api.github.com/users/fidelisojeah/orgs","repos_url":"https://api.github.com/users/fidelisojeah/repos","events_url":"https://api.github.com/users/fidelisojeah/events{/privacy}","received_events_url":"https://api.github.com/users/fidelisojeah/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fidelisojeah/Hello-Books","description":"Hello Books is an online application made to make library management easier","fork":false,"url":"https://api.github.com/repos/fidelisojeah/Hello-Books","forks_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/forks","keys_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/teams","hooks_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/hooks","issue_events_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/issues/events{/number}","events_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/events","assignees_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/assignees{/user}","branches_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/branches{/branch}","tags_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/tags","blobs_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/git/refs{/sha}","trees_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/statuses/{sha}","languages_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/languages","stargazers_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/stargazers","contributors_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/contributors","subscribers_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/subscribers","subscription_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/subscription","commits_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/commits{/sha}","git_commits_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/git/commits{/sha}","comments_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/comments{/number}","issue_comment_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/issues/comments{/number}","contents_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/contents/{+path}","compare_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/merges","archive_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/downloads","issues_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/issues{/number}","pulls_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/pulls{/number}","milestones_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/milestones{/number}","notifications_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/labels{/name}","releases_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/releases{/id}","deployments_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/deployments","created_at":"2017-07-25T13:22:05Z","updated_at":"2017-08-10T23:50:58Z","pushed_at":"2017-09-07T14:55:28Z","git_url":"git://github.com/fidelisojeah/Hello-Books.git","ssh_url":"git@github.com:fidelisojeah/Hello-Books.git","clone_url":"https://github.com/fidelisojeah/Hello-Books.git","svn_url":"https://github.com/fidelisojeah/Hello-Books","homepage":"https://fidelisojeah.github.io/login.html","size":662,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"fidelisojeah:authentication","ref":"authentication","sha":"62a83c5b7368a8e51c839d644cf6ef14adafc8bb","user":{"login":"fidelisojeah","id":11561738,"avatar_url":"https://avatars2.githubusercontent.com/u/11561738?v=4","gravatar_id":"","url":"https://api.github.com/users/fidelisojeah","html_url":"https://github.com/fidelisojeah","followers_url":"https://api.github.com/users/fidelisojeah/followers","following_url":"https://api.github.com/users/fidelisojeah/following{/other_user}","gists_url":"https://api.github.com/users/fidelisojeah/gists{/gist_id}","starred_url":"https://api.github.com/users/fidelisojeah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fidelisojeah/subscriptions","organizations_url":"https://api.github.com/users/fidelisojeah/orgs","repos_url":"https://api.github.com/users/fidelisojeah/repos","events_url":"https://api.github.com/users/fidelisojeah/events{/privacy}","received_events_url":"https://api.github.com/users/fidelisojeah/received_events","type":"User","site_admin":false},"repo":{"id":98308529,"name":"Hello-Books","full_name":"fidelisojeah/Hello-Books","owner":{"login":"fidelisojeah","id":11561738,"avatar_url":"https://avatars2.githubusercontent.com/u/11561738?v=4","gravatar_id":"","url":"https://api.github.com/users/fidelisojeah","html_url":"https://github.com/fidelisojeah","followers_url":"https://api.github.com/users/fidelisojeah/followers","following_url":"https://api.github.com/users/fidelisojeah/following{/other_user}","gists_url":"https://api.github.com/users/fidelisojeah/gists{/gist_id}","starred_url":"https://api.github.com/users/fidelisojeah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fidelisojeah/subscriptions","organizations_url":"https://api.github.com/users/fidelisojeah/orgs","repos_url":"https://api.github.com/users/fidelisojeah/repos","events_url":"https://api.github.com/users/fidelisojeah/events{/privacy}","received_events_url":"https://api.github.com/users/fidelisojeah/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fidelisojeah/Hello-Books","description":"Hello Books is an online application made to make library management easier","fork":false,"url":"https://api.github.com/repos/fidelisojeah/Hello-Books","forks_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/forks","keys_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/teams","hooks_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/hooks","issue_events_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/issues/events{/number}","events_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/events","assignees_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/assignees{/user}","branches_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/branches{/branch}","tags_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/tags","blobs_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/git/refs{/sha}","trees_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/statuses/{sha}","languages_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/languages","stargazers_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/stargazers","contributors_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/contributors","subscribers_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/subscribers","subscription_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/subscription","commits_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/commits{/sha}","git_commits_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/git/commits{/sha}","comments_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/comments{/number}","issue_comment_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/issues/comments{/number}","contents_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/contents/{+path}","compare_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/merges","archive_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/downloads","issues_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/issues{/number}","pulls_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/pulls{/number}","milestones_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/milestones{/number}","notifications_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/labels{/name}","releases_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/releases{/id}","deployments_url":"https://api.github.com/repos/fidelisojeah/Hello-Books/deployments","created_at":"2017-07-25T13:22:05Z","updated_at":"2017-08-10T23:50:58Z","pushed_at":"2017-09-07T14:55:28Z","git_url":"git://github.com/fidelisojeah/Hello-Books.git","ssh_url":"git@github.com:fidelisojeah/Hello-Books.git","clone_url":"https://github.com/fidelisojeah/Hello-Books.git","svn_url":"https://github.com/fidelisojeah/Hello-Books","homepage":"https://fidelisojeah.github.io/login.html","size":662,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fidelisojeah/Hello-Books/pulls/8"},"html":{"href":"https://github.com/fidelisojeah/Hello-Books/pull/8"},"issue":{"href":"https://api.github.com/repos/fidelisojeah/Hello-Books/issues/8"},"comments":{"href":"https://api.github.com/repos/fidelisojeah/Hello-Books/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/fidelisojeah/Hello-Books/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/fidelisojeah/Hello-Books/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fidelisojeah/Hello-Books/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/fidelisojeah/Hello-Books/statuses/ae02c1f316ec4d14c3acaebe09524fb8c6f9d803"}},"author_association":"OWNER"}}
{"actor":{"display_login":"houndci-bot"}}