{"size": 235, "ext": "js", "max_stars_repo_path": "src/routes/api/flag.js", "max_stars_repo_name": "uncleabbey/Teamwork-backend", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/routes/api/flag.js", "max_issues_repo_name": "uncleabbey/Teamwork-backend", "max_issues_repo_issues_event_min_datetime": "2019-11-24T09:48:54.000Z", "max_issues_repo_issues_event_max_datetime": "2019-11-24T09:59:35.000Z", "max_forks_repo_path": "src/routes/api/flag.js", "max_forks_repo_name": "uncleabbey/Teamwork-backend", "max_forks_repo_forks_event_min_datetime": "2019-11-29T21:11:17.000Z", "max_forks_repo_forks_event_max_datetime": "2019-11-29T21:11:17.000Z"}
{"max_stars_count": null, "max_issues_count": 2, "max_forks_count": 1, "avg_line_length": 23.5, "max_line_length": 57, "alphanum_fraction": 0.7021276596}
import { Router } from 'express';
import { verifyToken } from '../../middlewares/jwtToken';
import flagCtrl from '../../controllers/flag';

const router = Router();

router.post('/flag', verifyToken, flagCtrl);

export default router;
