generated from VLADIMIR/template
fix mappers
This commit is contained in:
@@ -29,6 +29,7 @@ func mapScenario(o *scenarios_service.Scenario) *proto.Scenario {
|
||||
Image: o.Image,
|
||||
Story: mapStory(o.Story),
|
||||
Author: mapUser(o.Author),
|
||||
Status: o.Status,
|
||||
UpdatedAt: timestamppb.New(o.UpdatedAt),
|
||||
CreatedAt: timestamppb.New(o.CreatedAt),
|
||||
PublishedAt: publishedAt,
|
||||
|
||||
Reference in New Issue
Block a user