From b66a584a9bd9184aa1b916beb18858f2c5439f22 Mon Sep 17 00:00:00 2001 From: AdrienLSH Date: Tue, 13 Feb 2024 09:53:40 +0100 Subject: [PATCH] fix(avatar) --- frontend/static/js/api/profiles.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/static/js/api/profiles.js b/frontend/static/js/api/profiles.js index 1a1eb54..8a00d8a 100644 --- a/frontend/static/js/api/profiles.js +++ b/frontend/static/js/api/profiles.js @@ -24,7 +24,7 @@ class Profiles let profiles = [] response_data.forEach((profile) => { - profiles.push(new Profile(this.client, profile.username, profile.user_id, profile.avatar_url)) + profiles.push(new Profile(this.client, profile.username, profile.user_id, profile.avatar)) }); return profiles; }