Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
api/docs update
  • Loading branch information
yusufbayrakdar committed Oct 17, 2019
1 parent 2a92795 commit 35f90f1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion project/backend/routes/User.js
Expand Up @@ -32,8 +32,10 @@ router.post("/:username/", (req, res, next) => {
* @apiSuccess {Object[]} user.comments comments on the profile of user
* @apiSuccess {Integer} user.comments.comment_id command_id point the user who has the same id value with command_id
* @apiSuccess {String} user.comments.text text of comment
* @apiSuccess {Object} user.comments.ıd id of comment author which is also a user
* @apiSuccess {Integer} user.comments.id id of comment author which is also a user
* @apiSuccess {Object} user.comments.author comment author which is also a user
* @apiSuccess {Integer} user.comments.author.id id of author
* @apiSuccess {String} user.comments.author.username username of author
*/
router.get("/:username/", (req, res, next) => {
const db = req.db;
Expand Down

0 comments on commit 35f90f1

Please sign in to comment.