Upstream sync
This commit is contained in:
@@ -37,6 +37,7 @@ func (mapping *providerMapping) ToProviderRespEntity(item viewmodel.ProviderResp
|
||||
LastName: item.LastName,
|
||||
Title: item.Title,
|
||||
Distance: item.Distance,
|
||||
Organization: mapping.mapper.Organization.ToOrganizationEntity(item.Organization),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -68,6 +69,7 @@ func (mapping *providerMapping) ToProviderRespModel(item entity.Provider) viewmo
|
||||
Keys: mapping.ToProviderKeyModelSlice(item.Keys),
|
||||
Address: mapping.ToProviderRespAddressModel(item.Address),
|
||||
Distance: item.Distance,
|
||||
Organization: mapping.mapper.Organization.ToOrganizationModel(item.Organization),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user