diff --git a/app/Domains/Virtual/Services/CompanyAddressService.php b/app/Domains/Virtual/Services/CompanyAddressService.php index e0b38e20..ea615dfd 100644 --- a/app/Domains/Virtual/Services/CompanyAddressService.php +++ b/app/Domains/Virtual/Services/CompanyAddressService.php @@ -36,9 +36,9 @@ class CompanyAddressService extends Service public function getCompanyAddress($companyId) { $res = $this->companyAddressRepository->withConditions(['company_id' => $companyId]) - ->orderBy('default', 'desc') - ->orderBy('updated_at', 'desc') - ->get(); + ->orderBy('default', 'desc') + ->orderBy('updated_at', 'desc') + ->get(); return $res; }