class ProjectController {

    @RequestMapping(value = "/sync")
    public ServiceResult<String> sync(@RequestParam("id") Long id, @CurrentUser LoginUser user) throws Exception {
        Project project = projectDao.getProjectByID(id);
        return projectService.syncProject(user, project);
    }

}