This commit is contained in:
2026-03-22 04:33:48 +07:00
parent aba3fb0eb1
commit 3fd528fbbd
14 changed files with 37 additions and 36 deletions
+2 -1
View File
@@ -136,8 +136,9 @@ func (s *Services) GetTeam(ctx context.Context, req *proto.GetTeamReq) (*proto.G
}
res := make([]*proto.Action, 0, len(actions))
for _, place := range s.storyService.GetPlaces(actionsCodes) {
for i, place := range s.storyService.GetPlaces(actionsCodes) {
newAction := mapPlaceToProtoAction(place)
newAction.Id = actions[i].ID
newAction.Name = place.Name
newAction.Text = place.Text
newAction.Image = place.Image