generated from VLADIMIR/template
add actions and auth
This commit is contained in:
@@ -25,3 +25,10 @@ func mapProtoTeamsToTeam(team *proto.Team) *models.Team {
|
||||
Name: team.Name,
|
||||
}
|
||||
}
|
||||
|
||||
func mapActionToProtoAction(action *models.Action) *proto.Action {
|
||||
return &proto.Action{
|
||||
Id: action.ID,
|
||||
Place: action.Place,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user