generated from VLADIMIR/template
add games operations
This commit is contained in:
@@ -18,6 +18,9 @@ func mapScenarios(o []*scenarios_service.Scenario) []*proto.Scenario {
|
||||
}
|
||||
|
||||
func mapScenario(o *scenarios_service.Scenario) *proto.Scenario {
|
||||
if o == nil {
|
||||
return nil
|
||||
}
|
||||
var publishedAt *timestamppb.Timestamp
|
||||
if o.PublishedAt != nil {
|
||||
publishedAt = timestamppb.New(*o.PublishedAt)
|
||||
|
||||
Reference in New Issue
Block a user