Fix incorrect type local in followers endpoint

This commit is contained in:
Karina Kwiatek 2023-02-01 23:34:33 +01:00
parent 603e9c501e
commit 825454bbae
1 changed files with 1 additions and 1 deletions

View File

@ -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]