{"action":"created","comment":{"url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/pulls/comments/153073148","pull_request_review_id":79030076,"id":153073148,"diff_hunk":"@@ -43,272 +53,157 @@ export default {\n       })\n       .catch((error) => {\n         if (error.errors[0].message === 'groupname must be unique') {\n-          res.status(409).send({\n-            error: { message: `${groupname} already exist` }\n-          });\n+          const message = `${groupname} already exist`;\n+          errorResponse(res, 409, message, null);\n         } else {\n-          res.status(500).send({ error: error.message, status: 500 });\n+          return errorResponse(res, 500, null, error);\n         }\n       });\n   },\n-  // Delete Group\n-  delete(req, res) {\n-    let groupname = req.body.groupname;\n-    if (!groupname || groupname.trim() === '') {\n-      return res.status(400).send({\n-        error: { message: 'Specify the group you want to archive' }\n-      });\n-    }\n-    groupname = req.body.groupname.toLowerCase();\n-    models.Group\n-      .findOne({ where: { groupname } })\n-      .then((group) => {\n-        if (!group) {\n-          return res.status(404).send({\n-            error: {\n-              message: `${groupname} does not exist`\n-            }\n-          });\n+  /**\n+  * deleteGroup controller\n+  * Allows users delete their created groups\n+  *\n+  * Route: POST: /api/delete-group/\n+  *\n+  * @param  {object} req - request object parameter\n+  * @param  {object} res - response object paramter\n+  * @return {object} returns a response object\n+  */\n+  deleteGroup(req, res) {\n+    const { group, user } = req.body;\n+    const { username } = user;\n+    let { groupname } = group;\n+    groupname = groupname.toLowerCase();\n+    models.UserGroup\n+      .findOne({ where: { groupname }, attributes: ['username'] })\n+      .then((result) => {\n+        if (result.dataValues.username !== username) {\n+          const message =\n+            `You do not have permission to delete ${groupname}`;\n+          return errorResponse(res, 403, message, null);\n         }\n-        const user = req.decoded.data.username;\n-        models.UserGroup\n-          .findOne({ where: { groupname }, attributes: ['username'] })\n-          .then((result) => {\n-            if (result.dataValues.username !== user) {\n-              return res.status(403).send({\n-                error: {\n-                  message: `You do not have permission to delete ${groupname}`\n-                }\n-              });\n-            }\n-            models.Group.destroy({ where: { groupname } });\n-            models.UserGroup.destroy({ where: { groupname } });\n-            return res.status(200).send({\n-              group,\n-              message: `${groupname} has been archived`\n-            });\n-          }).catch((error) => {\n-            res.status(500).send({ error: error.message, status: 500 });\n-          });\n-      });\n-  },\n-  // Display all created groups on postit\n-  fetchAllGroups(req, res) {\n-    return models.Group\n-      .findAll({ attributes:\n-        ['groupname', 'description']\n-      })\n-      .then((groups) => {\n-        if (groups.length === 0) {\n-          res.status(204).send({ message: 'You have not created any group' });\n-        } else {\n-          return res.status(200).send(groups);\n-        }\n-      })\n-      .catch((error) => {\n-        res.status(500).send({\n-          error: error.message, status: 500\n-        });\n-      });\n+        models.UserGroup.destroy({ where: { groupname } });\n+        models.Message.destroy({ where: { toGroup: groupname } });\n+        group.destroy()\n+        .then(() =>\n+          res.status(200).send({\n+            group,\n+            message: `${groupname} has been archived`\n+          })\n+        ).catch(error => errorResponse(res, 500, null, error));\n+      }).catch(error => errorResponse(res, 500, null, error));\n   },\n-  // Users can see all the groups that they belong to\n+  /**\n+  * fetchMyGroups controller\n+  * Allows authenticated users view the groups\n+  * they belong to\n+  *\n+  * Route: GET: /api/groups/me\n+  *\n+  * @param  {object} req - request object parameter\n+  * @param  {object} res - response object paramter\n+  * @return {object} returns a response object\n+  */\n   fetchMyGroups(req, res) {\n-    const user = req.decoded.data.username;\n-    return models.UserGroup\n-      .findAll({ where: { username: user } })\n-      .then((groups) => {\n-        if (groups.length === 0) {\n-          res.status(204).send({ message: 'You have no group yet' });\n-        } else {\n-          return res.status(200).send(groups);\n-        }\n-      }).catch((error) => {\n-        res.status(500).send({ error: error.message, status: 500 });\n-      });\n+    const { user } = req.body;\n+    user.getGroup()\n+    .then((groups) => {\n+      if (groups.length === 0) {\n+        res.status(200).send({ message: 'You have no group yet' });\n+      } else {\n+        return res.status(200).send(groups);\n+      }\n+    }).catch(error => errorResponse(res, 500, null, error));\n   },\n-  // Add member to group\n+  /**\n+  * addMember controller\n+  * Allows a user add other users to a group\n+  *\n+  * Route: POST: /api/groups/:groupname/add-member/\n+  *\n+  * @param  {object} req - request object parameter\n+  * @param  {object} res - response object paramter\n+  * @return {object} returns a response object\n+  */\n   addMember(req, res) {\n-    const groupname = req.params.groupname;\n-    const username = req.body.username;\n-    if (!groupname || groupname.trim() === '') {\n-      res.status(400).send({\n-        error: {\n-          message: 'Bad request, go to group you want to add member'\n-        }\n-      });\n-      return;\n-    }\n-    if (!username || username.trim() === '') {\n-      res.status(400).send({\n-        error: {\n-          message: 'Bad request, username is required'\n+    const { group, user, username } = req.body;\n+    const { groupname } = group;\n+    group.hasUser(user)\n+      .then((result) => {\n+        if (result) {\n+          const message = 'User already belong to group';\n+          return errorResponse(res, 409, message, null);\n         }\n-      });\n-      return;\n-    }\n-    return models.Group\n-      .findOne({ where: { groupname } })\n-      .then((group) => {\n-        // check if the group exists\n-        if (!group) {\n-          return res.status(404).send({\n-            error: {\n-              message: 'Group not found or has not been created'\n-            }\n-          });\n-        }\n-        return models.User\n-          .findOne({ where: { username } })\n-          .then((user) => {\n-            // check if the username belongs to a registered user\n-            if (!user) {\n-              return res.status(404).send({\n-                error: {\n-                  message: 'User not found. User has no PostIt account'\n-                }\n-              });\n-            }\n-            return models.UserGroup\n-              .findOne({\n-                where: {\n-                  username,\n-                  groupname\n-                }\n-              })\n-              .then((result) => {\n-                if (result !== null) {\n-                  return res.status(409).send({\n-                    error: {\n-                      message: 'User already belong to group'\n-                    }\n-                  });\n-                }\n-                models.UserGroup.create({\n-                  username,\n-                  groupname\n-                })\n-                .then(member =>\n-                  res.status(201).send({\n-                    member,\n-                    message:\n-                    `${username} was added to ${groupname}`\n-                  })\n-                )\n-                .catch(error =>\n-                  res.status(500).send({ error: error.message, status: 500 })\n-                );\n-              })\n-              .catch(error =>\n-                res.status(500).send({ error: error.message, status: 500 }));\n+        group.addUser(user)\n+        .then(member =>\n+          res.status(201).send({\n+            member: member[0][0],\n+            message:\n+            `${username} was added to ${groupname}`,\n+            status: 201\n           })\n-          .catch(error =>\n-            res.status(500).send({ error: error.message, status: 500 }));\n-      });\n+        ).catch(error => errorResponse(res, 500, null, error));\n+      }).catch(error => errorResponse(res, 500, null, error));\n   },\n-  // remove member from group\n+  /**\n+  * removeMember controller\n+  * Allows a user who acts as the group admin\n+  * to remove other group member\n+  *\n+  * Route: POST: /api/groups/:groupname/remove-member/\n+  *\n+  * @param  {object} req - request object parameter\n+  * @param  {object} res - response object paramter\n+  * @return {object} returns a response object\n+  */\n   removeMember(req, res) {\n-    const username = req.body.username;\n-    const groupname = req.params.groupname;\n-    if (!groupname || groupname.trim() === '') {\n-      res.status(400).send({\n-        error: {\n-          message: 'Bad request, go to group you want to remove member'\n-        }\n-      });\n-      return;\n-    }\n-    if (!username || username.trim() === '') {\n-      res.status(400).send({\n-        error: {\n-          message: 'Bad request, username is required'\n+    const { user, group, username } = req.body;\n+    const { groupname } = group;\n+    group.hasUser(user)\n+      .then((userInGroup) => {\n+        if (!userInGroup) {\n+          const message = `No such user in ${groupname}`;\n+          return errorResponse(res, 404, message, null);\n         }\n-      });\n-      return;\n-    }\n-    return models.Group\n-      .findOne({ where: { groupname } })\n-      .then((group) => {\n-        // check if the group exists\n-        if (!group) {\n-          return res.status(404).send({\n-            error: {\n-              message: 'Group not found or has not been created'\n-            }\n+        group.removeUser(user);\n+        group.getUser({ attribute: ['username'] })\n+        .then((result) => {\n+          if (result.length < 1) {\n+            models.UserGroup.destroy({ where: { groupname } });\n+            models.Message.destroy({ where: { toGroup: groupname } });\n+            group.destroy();\n+          }\n+          res.status(200).send({\n+            username,\n+            message:\n+            `${username} was successfully removed from ${groupname}`\n           });\n-        }\n-        return models.User\n-          .findOne({ where: { username } })\n-          .then((user) => {\n-            // check if the username belongs to a registered user\n-            if (!user) {\n-              return res.status(404).send({\n-                error: {\n-                  message: 'User not found. User has no PostIt account'\n-                }\n-              });\n-            }\n-            return models.UserGroup\n-              .findOne({\n-                where: {\n-                  username,\n-                  groupname\n-                }\n-              })\n-              .then((result) => {\n-                if (result !== null) {\n-                  models.UserGroup.destroy({\n-                    where: { username, groupname }\n-                  });\n-                  return res.status(200).send({\n-                    username,\n-                    message:\n-                    `${username}\n-                    was successfully removed from\n-                    ${groupname}`\n-                  });\n-                }\n-                return res.status(404).send({\n-                  error: {\n-                    message: `No such user in ${groupname}`\n-                  }\n-                });\n-              }).catch(error =>\n-                res.status(500).send({ error: error.message, status: 500 }));\n-          }).catch(error =>\n-            res.status(500).send({ error: error.message, status: 500 }));\n-      });\n+        }).catch(error => errorResponse(res, 500, null, error));\n+      }).catch(error => errorResponse(res, 500, null, error));\n   },\n-  // Get List of group members\n+  /**\n+  * fetchMembers controller\n+  * Allows a see all the members of the group they belong\n+  *\n+  * Route: GET: /api/groups/:groupname/members/\n+  *\n+  * @param  {object} req - request object parameter\n+  * @param  {object} res - response object paramter\n+  * @return {object} returns a response object\n+  */\n   fetchMembers(req, res) {\n-    const groupname = req.params.groupname;\n-    if (!groupname || groupname.trim() === '') {\n-      res.status(400).send({\n-        error: {\n-          message: 'Bad request, go to group you want to view its member'\n-        }\n-      });\n-      return;\n-    }\n-    return models.Group.findOne({ where: { groupname } })\n-      .then((group) => {\n-        if (!group) {\n-          res.status(400).send({\n-            error: { message: `Group - ${groupname} does not exist` }\n-          });\n-        } else {\n-          return models.UserGroup\n-          .findAll({ where: { groupname } })\n-          .then((result) => {\n-            if (result.length === 0) {\n-              res.status(204).send({\n-                message: 'You have not added any members'\n-              });\n-            } else {\n-              res.status(200).send(result);\n-            }\n-          });\n-        }\n-      }).catch(error =>\n-        res.status(500).send({ error: error.message, status: 500 }));\n+    const { group, user } = req.body;\n+    group.hasUser(user)\n+    .then((userInGroup) => {\n+      if (!userInGroup) {","path":"server/controllers/group.js","position":463,"original_position":463,"commit_id":"db91fc6d6d5260cd41de337d5e982c30a4cec001","original_commit_id":"db91fc6d6d5260cd41de337d5e982c30a4cec001","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":"Expected indentation of 8 spaces but found 6                    indent","created_at":"2017-11-26T15:12:23Z","updated_at":"2017-11-26T15:12:23Z","html_url":"https://github.com/dinobi/Bootcamp-LOS-24-POSTIT/pull/91#discussion_r153073148","pull_request_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/pulls/91","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/pulls/comments/153073148"},"html":{"href":"https://github.com/dinobi/Bootcamp-LOS-24-POSTIT/pull/91#discussion_r153073148"},"pull_request":{"href":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/pulls/91"}}},"pull_request":{"url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/pulls/91","id":154683002,"html_url":"https://github.com/dinobi/Bootcamp-LOS-24-POSTIT/pull/91","diff_url":"https://github.com/dinobi/Bootcamp-LOS-24-POSTIT/pull/91.diff","patch_url":"https://github.com/dinobi/Bootcamp-LOS-24-POSTIT/pull/91.patch","issue_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/issues/91","number":91,"state":"closed","locked":false,"title":"Update staging with recent changes to develop","user":{"login":"dinobi","id":13672476,"avatar_url":"https://avatars2.githubusercontent.com/u/13672476?v=4","gravatar_id":"","url":"https://api.github.com/users/dinobi","html_url":"https://github.com/dinobi","followers_url":"https://api.github.com/users/dinobi/followers","following_url":"https://api.github.com/users/dinobi/following{/other_user}","gists_url":"https://api.github.com/users/dinobi/gists{/gist_id}","starred_url":"https://api.github.com/users/dinobi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinobi/subscriptions","organizations_url":"https://api.github.com/users/dinobi/orgs","repos_url":"https://api.github.com/users/dinobi/repos","events_url":"https://api.github.com/users/dinobi/events{/privacy}","received_events_url":"https://api.github.com/users/dinobi/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-11-26T15:11:24Z","updated_at":"2017-11-26T15:12:24Z","closed_at":"2017-11-26T15:11:42Z","merged_at":"2017-11-26T15:11:42Z","merge_commit_sha":"cde7c40d6e3608e1ea04108baba379d0bedacbf6","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/pulls/91/commits","review_comments_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/pulls/91/comments","review_comment_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/issues/91/comments","statuses_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/statuses/db91fc6d6d5260cd41de337d5e982c30a4cec001","head":{"label":"dinobi:develop","ref":"develop","sha":"db91fc6d6d5260cd41de337d5e982c30a4cec001","user":{"login":"dinobi","id":13672476,"avatar_url":"https://avatars2.githubusercontent.com/u/13672476?v=4","gravatar_id":"","url":"https://api.github.com/users/dinobi","html_url":"https://github.com/dinobi","followers_url":"https://api.github.com/users/dinobi/followers","following_url":"https://api.github.com/users/dinobi/following{/other_user}","gists_url":"https://api.github.com/users/dinobi/gists{/gist_id}","starred_url":"https://api.github.com/users/dinobi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinobi/subscriptions","organizations_url":"https://api.github.com/users/dinobi/orgs","repos_url":"https://api.github.com/users/dinobi/repos","events_url":"https://api.github.com/users/dinobi/events{/privacy}","received_events_url":"https://api.github.com/users/dinobi/received_events","type":"User","site_admin":false},"repo":{"id":96051832,"name":"Bootcamp-LOS-24-POSTIT","full_name":"dinobi/Bootcamp-LOS-24-POSTIT","owner":{"login":"dinobi","id":13672476,"avatar_url":"https://avatars2.githubusercontent.com/u/13672476?v=4","gravatar_id":"","url":"https://api.github.com/users/dinobi","html_url":"https://github.com/dinobi","followers_url":"https://api.github.com/users/dinobi/followers","following_url":"https://api.github.com/users/dinobi/following{/other_user}","gists_url":"https://api.github.com/users/dinobi/gists{/gist_id}","starred_url":"https://api.github.com/users/dinobi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinobi/subscriptions","organizations_url":"https://api.github.com/users/dinobi/orgs","repos_url":"https://api.github.com/users/dinobi/repos","events_url":"https://api.github.com/users/dinobi/events{/privacy}","received_events_url":"https://api.github.com/users/dinobi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dinobi/Bootcamp-LOS-24-POSTIT","description":"PostIt is a simple application that allows friends and colleagues create groups for notifications.","fork":false,"url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT","forks_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/forks","keys_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/teams","hooks_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/hooks","issue_events_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/issues/events{/number}","events_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/events","assignees_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/assignees{/user}","branches_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/branches{/branch}","tags_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/tags","blobs_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/git/refs{/sha}","trees_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/statuses/{sha}","languages_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/languages","stargazers_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/stargazers","contributors_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/contributors","subscribers_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/subscribers","subscription_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/subscription","commits_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/commits{/sha}","git_commits_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/git/commits{/sha}","comments_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/comments{/number}","issue_comment_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/issues/comments{/number}","contents_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/contents/{+path}","compare_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/merges","archive_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/downloads","issues_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/issues{/number}","pulls_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/pulls{/number}","milestones_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/milestones{/number}","notifications_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/labels{/name}","releases_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/releases{/id}","deployments_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/deployments","created_at":"2017-07-02T22:16:08Z","updated_at":"2017-11-14T04:31:43Z","pushed_at":"2017-11-26T15:11:43Z","git_url":"git://github.com/dinobi/Bootcamp-LOS-24-POSTIT.git","ssh_url":"git@github.com:dinobi/Bootcamp-LOS-24-POSTIT.git","clone_url":"https://github.com/dinobi/Bootcamp-LOS-24-POSTIT.git","svn_url":"https://github.com/dinobi/Bootcamp-LOS-24-POSTIT","homepage":"https://postit-webapp.herokuapp.com/","size":6140,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"dinobi:staging","ref":"staging","sha":"74ca837a20719e3f039281df4771b99fb0d71dec","user":{"login":"dinobi","id":13672476,"avatar_url":"https://avatars2.githubusercontent.com/u/13672476?v=4","gravatar_id":"","url":"https://api.github.com/users/dinobi","html_url":"https://github.com/dinobi","followers_url":"https://api.github.com/users/dinobi/followers","following_url":"https://api.github.com/users/dinobi/following{/other_user}","gists_url":"https://api.github.com/users/dinobi/gists{/gist_id}","starred_url":"https://api.github.com/users/dinobi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinobi/subscriptions","organizations_url":"https://api.github.com/users/dinobi/orgs","repos_url":"https://api.github.com/users/dinobi/repos","events_url":"https://api.github.com/users/dinobi/events{/privacy}","received_events_url":"https://api.github.com/users/dinobi/received_events","type":"User","site_admin":false},"repo":{"id":96051832,"name":"Bootcamp-LOS-24-POSTIT","full_name":"dinobi/Bootcamp-LOS-24-POSTIT","owner":{"login":"dinobi","id":13672476,"avatar_url":"https://avatars2.githubusercontent.com/u/13672476?v=4","gravatar_id":"","url":"https://api.github.com/users/dinobi","html_url":"https://github.com/dinobi","followers_url":"https://api.github.com/users/dinobi/followers","following_url":"https://api.github.com/users/dinobi/following{/other_user}","gists_url":"https://api.github.com/users/dinobi/gists{/gist_id}","starred_url":"https://api.github.com/users/dinobi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinobi/subscriptions","organizations_url":"https://api.github.com/users/dinobi/orgs","repos_url":"https://api.github.com/users/dinobi/repos","events_url":"https://api.github.com/users/dinobi/events{/privacy}","received_events_url":"https://api.github.com/users/dinobi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dinobi/Bootcamp-LOS-24-POSTIT","description":"PostIt is a simple application that allows friends and colleagues create groups for notifications.","fork":false,"url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT","forks_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/forks","keys_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/teams","hooks_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/hooks","issue_events_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/issues/events{/number}","events_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/events","assignees_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/assignees{/user}","branches_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/branches{/branch}","tags_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/tags","blobs_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/git/refs{/sha}","trees_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/statuses/{sha}","languages_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/languages","stargazers_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/stargazers","contributors_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/contributors","subscribers_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/subscribers","subscription_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/subscription","commits_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/commits{/sha}","git_commits_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/git/commits{/sha}","comments_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/comments{/number}","issue_comment_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/issues/comments{/number}","contents_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/contents/{+path}","compare_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/merges","archive_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/downloads","issues_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/issues{/number}","pulls_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/pulls{/number}","milestones_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/milestones{/number}","notifications_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/labels{/name}","releases_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/releases{/id}","deployments_url":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/deployments","created_at":"2017-07-02T22:16:08Z","updated_at":"2017-11-14T04:31:43Z","pushed_at":"2017-11-26T15:11:43Z","git_url":"git://github.com/dinobi/Bootcamp-LOS-24-POSTIT.git","ssh_url":"git@github.com:dinobi/Bootcamp-LOS-24-POSTIT.git","clone_url":"https://github.com/dinobi/Bootcamp-LOS-24-POSTIT.git","svn_url":"https://github.com/dinobi/Bootcamp-LOS-24-POSTIT","homepage":"https://postit-webapp.herokuapp.com/","size":6140,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/pulls/91"},"html":{"href":"https://github.com/dinobi/Bootcamp-LOS-24-POSTIT/pull/91"},"issue":{"href":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/issues/91"},"comments":{"href":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/issues/91/comments"},"review_comments":{"href":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/pulls/91/comments"},"review_comment":{"href":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/pulls/91/commits"},"statuses":{"href":"https://api.github.com/repos/dinobi/Bootcamp-LOS-24-POSTIT/statuses/db91fc6d6d5260cd41de337d5e982c30a4cec001"}},"author_association":"OWNER"}}
{"actor":{"display_login":"houndci-bot"}}