fix mappers

This commit is contained in:
2026-07-26 00:20:58 +07:00
parent 6057ff38a3
commit d5a99508d3
5 changed files with 29 additions and 14 deletions
+1
View File
@@ -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,