fix: add return to profiles.all()
This commit is contained in:
parent
0edcd97f94
commit
dd19e15e7d
@ -16,7 +16,7 @@ class Profiles
|
|||||||
response_data.forEach((profile) => {
|
response_data.forEach((profile) => {
|
||||||
profiles.push(new Profile(this.client, profile.username, profile.avatar_url, profile.user_id))
|
profiles.push(new Profile(this.client, profile.username, profile.avatar_url, profile.user_id))
|
||||||
});
|
});
|
||||||
console.log(profiles);
|
return profiles;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user