generated from VLADIMIR/template
fix
This commit is contained in:
Binary file not shown.
@@ -36,6 +36,9 @@ func mapScenario(o *scenarios_service.Scenario) *proto.Scenario {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func mapStory(o *storytelling.Story) *proto.Story {
|
func mapStory(o *storytelling.Story) *proto.Story {
|
||||||
|
if o == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
return &proto.Story{
|
return &proto.Story{
|
||||||
Places: mapPlaces(o.Places),
|
Places: mapPlaces(o.Places),
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user