Report proper error messages when filter is wrong project or wrong team

This commit is contained in:
Šesták Vít
2018-03-21 10:45:11 +01:00
parent e6e9d4c940
commit a2a4ee01c7
2 changed files with 9 additions and 4 deletions

View File

@@ -21,6 +21,7 @@ class Projects (
)
def teamById(id: String): Team = teamsById(id)
def getTeamById(id: String): Option[Team] = teamsById.get(id)
def teamSet: Set[Team] = teamsById.values.toSet