update: change to save default address based on company module id

This commit is contained in:
weichien00
2021-08-09 02:16:24 +08:00
parent db12b2f26c
commit 7a2f2e87b2
5 changed files with 17 additions and 6 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ class AddressResource extends JsonResource
'state' => $this->state,
'post_code' => $this->postcode,
'country' => $this->country,
'billing' => (int) $this->billing
'default' => (int) $this->default
];
}
}