diff --git a/frontend/static/js/views/ProfilePageView.js b/frontend/static/js/views/ProfilePageView.js index 88ab8f7..b289a9f 100644 --- a/frontend/static/js/views/ProfilePageView.js +++ b/frontend/static/js/views/ProfilePageView.js @@ -57,9 +57,9 @@ export default class extends AbstractView { block.id = "block"; block.onclick = async () => { if (!this.profile.isBlocked) - await client.profiles.block(this.userId); + await client.profiles.block(this.user_id); else - await client.profiles.deblock(this.userId); + await client.profiles.deblock(this.user_id); this.profile = await client.profiles.getProfile(this.username); this.blockButton();