We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94a31f6 commit c9d57b3Copy full SHA for c9d57b3
app/components/Client/Profile/Client.js
@@ -17,7 +17,7 @@ class Client extends React.Component
17
}
18
19
getClient(id) {
20
- ClientService.getClient(id).then((response) => {
+ ClientService.find(id).then((response) => {
21
this.setState({client: response.data.client.shift()});
22
}).catch((error) => {
23
this.setState({error: 'Error Found: Trying get client'});
app/services/Client.js
@@ -18,7 +18,7 @@ const Client = {
return axios.get(this.getEntryPoint().join('/'), this.getConfig());
},
- getClient(id) {
+ find(id) {
let url = this.getEntryPoint();
24
url.push(id);
0 commit comments