Commit 98daad0c authored by Grzegorz Pietrusza's avatar Grzegorz Pietrusza

remove unnecessary endpoint

parent fc2fc6cd
...@@ -62,7 +62,6 @@ public class SolutionsResource ...@@ -62,7 +62,6 @@ public class SolutionsResource
return solutionsRepository.getCompletedTasks(teamsRepository.getTeamByUser(user)); return solutionsRepository.getCompletedTasks(teamsRepository.getTeamByUser(user));
} }
//todo: rethink
@GET @GET
@Path("/completed/all") @Path("/completed/all")
public Map<String, List<Integer>> getAllTeamsCompletetdTasks(@Auth User user) public Map<String, List<Integer>> getAllTeamsCompletetdTasks(@Auth User user)
...@@ -75,14 +74,6 @@ public class SolutionsResource ...@@ -75,14 +74,6 @@ public class SolutionsResource
)); ));
} }
@GET
@Path("/my")
public Map<Integer, List<String>> getTeamSolutions(@Auth User user)
{
Team team = teamsRepository.getTeamByUser(user);
return solutionsRepository.getTeamSolutions(team);
}
@GET @GET
@Path("/all") @Path("/all")
public Map<String, Map<Integer, List<String>>> getTeamsSolutions() public Map<String, Map<Integer, List<String>>> getTeamsSolutions()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment