generated from VLADIMIR/template
fix
This commit is contained in:
@@ -41,6 +41,14 @@ func mapStoryApplicationToProtoApplication(application *story_service_models.App
|
||||
}
|
||||
}
|
||||
|
||||
func mapStoryDoorToProtoDoor(door *story_service_models.Door) *proto.Door {
|
||||
return &proto.Door{
|
||||
Code: door.Code,
|
||||
Name: door.Name,
|
||||
Show: door.Show,
|
||||
}
|
||||
}
|
||||
|
||||
func mapStoryApplicationsToApplications(applications []*story_service_models.Application) []*models.Application {
|
||||
res := make([]*models.Application, 0, len(applications))
|
||||
for _, application := range applications {
|
||||
|
||||
Reference in New Issue
Block a user