Fix get locations response. #632
This commit is contained in:
parent
84844046f1
commit
7001d6a0ed
1 changed files with 1 additions and 1 deletions
|
|
@ -3686,7 +3686,7 @@ class APIController extends Controller implements LoggedController
|
|||
$cust_meta = $em->getRepository(CustomerMetadata::class)->findOneBy(['customer' => $cust]);
|
||||
if ($cust_meta != null)
|
||||
{
|
||||
$locations = $cust_meta->getAllMetaInfo();
|
||||
$locations[] = $cust_meta->getAllMetaInfo();
|
||||
}
|
||||
|
||||
$data = [
|
||||
|
|
|
|||
Loading…
Reference in a new issue