Commit e849a617 authored by Grzegorz Pietrusza's avatar Grzegorz Pietrusza

stub of registration resource

parent 0f5cfb0d
...@@ -33,6 +33,7 @@ public class RegistrationResource ...@@ -33,6 +33,7 @@ public class RegistrationResource
@Path("/team") @Path("/team")
public String registerTeam(@QueryParam("teamName") final String teamName) public String registerTeam(@QueryParam("teamName") final String teamName)
{ {
//todo: check if exists
Team team = new Team(); Team team = new Team();
team.setName(teamName); team.setName(teamName);
team.setDescription("descr"); team.setDescription("descr");
......
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