From 825454bbae547593f80768bbfe666c6f426b795e Mon Sep 17 00:00:00 2001 From: Karina Kwiatek Date: Wed, 1 Feb 2023 23:34:33 +0100 Subject: [PATCH] Fix incorrect type local in followers endpoint --- app/controllers/user_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index 041748f8..17926429 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_controller.rb @@ -21,7 +21,7 @@ class UserController < ApplicationController @users = @relationships.map(&:source) own_relationships = find_own_relationships locals = { - type: :friend, + type: :follower, own_followings: own_relationships[Relationships::Follow], own_blocks: own_relationships[Relationships::Block], own_mutes: own_relationships[Relationships::Mute]