Fixed tabled

This commit is contained in:
Aditya Siregar
2025-09-18 00:37:46 +07:00
parent 155016dec8
commit c68b536480
3 changed files with 114 additions and 10 deletions
@@ -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,