generated from VLADIMIR/template
add place name
This commit is contained in:
@@ -83,6 +83,7 @@ func (s *Services) GetTeam(ctx context.Context, req *proto.GetTeamReq) (*proto.G
|
||||
return nil, err
|
||||
}
|
||||
newAction.Text = place.Text
|
||||
newAction.Name = place.Name
|
||||
newAction.Applications = make([]*proto.Application, 0, len(place.Applications))
|
||||
for _, application := range place.Applications {
|
||||
newAction.Applications = append(newAction.Applications, mapApplicationToProtoApplication(application))
|
||||
|
||||
@@ -14,6 +14,7 @@ type Story struct {
|
||||
|
||||
type Place struct {
|
||||
Code string `json:"code"`
|
||||
Name string `json:"name"`
|
||||
Text string `json:"text"`
|
||||
Applications []*Application `json:"applications"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user