clean: removed logs
This commit is contained in:
parent
5e5d28ed8d
commit
59d89d27f6
@ -26,7 +26,6 @@ class MyProfile extends Profile
|
|||||||
const responseData = await response.json();
|
const responseData = await response.json();
|
||||||
|
|
||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
console.log('save', responseData);
|
|
||||||
this.avatar_url = responseData.avatar.substr(responseData.avatar.indexOf('static') - 1);
|
this.avatar_url = responseData.avatar.substr(responseData.avatar.indexOf('static') - 1);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
@ -38,7 +37,6 @@ class MyProfile extends Profile
|
|||||||
const responseData = await response.json();
|
const responseData = await response.json();
|
||||||
|
|
||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
console.log('delete', responseData);
|
|
||||||
this.avatar_url = responseData.avatar.substr(responseData.avatar.indexOf('static') - 1);
|
this.avatar_url = responseData.avatar.substr(responseData.avatar.indexOf('static') - 1);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user