corrected a typo

This commit is contained in:
Carlos Jimenez Ruiz 2021-08-31 11:01:14 +02:00
parent 4be6dce1e0
commit c00201b236
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class Controller extends Component {
};
filter = encodeURIComponent(JSON.stringify(filter));
let query = `Clients?filter=${filter}`;
this.$http.get(query).then(res=> {
this.$http.get(query).then(res => {
if (res.data) {
let client = res.data[0];
let defaultAddress = client.defaultAddress;