Fixed tabled
This commit is contained in:
@@ -45,6 +45,10 @@ func SetDefaultCustomerRequestToModel(req *contract.SetDefaultCustomerRequest) *
|
||||
|
||||
// Model to Contract conversions
|
||||
func CustomerModelToResponse(customer *models.CustomerResponse) *contract.CustomerResponse {
|
||||
if customer == nil {
|
||||
return nil
|
||||
}
|
||||
|
||||
return &contract.CustomerResponse{
|
||||
ID: customer.ID,
|
||||
OrganizationID: customer.OrganizationID,
|
||||
|
||||
Reference in New Issue
Block a user