Fix follow_controller.ex
This commit is contained in:
parent
0c38e16970
commit
32bb4c7ca2
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ defmodule NullaWeb.FollowController do
|
|||
def following(conn, %{"username" => username, "page" => page_param}) do
|
||||
instance_settings = InstanceSettings.get_instance_settings!()
|
||||
domain = instance_settings.domain
|
||||
limit = instance_settings.limit
|
||||
limit = instance_settings.api_limit
|
||||
actor = Actor.get_actor(username, domain)
|
||||
total = Relation.count_following(actor.id)
|
||||
|
||||
|
@ -39,7 +39,7 @@ defmodule NullaWeb.FollowController do
|
|||
def followers(conn, %{"username" => username, "page" => page_param}) do
|
||||
instance_settings = InstanceSettings.get_instance_settings!()
|
||||
domain = instance_settings.domain
|
||||
limit = instance_settings.limit
|
||||
limit = instance_settings.api_limit
|
||||
actor = Actor.get_actor(username, domain)
|
||||
total = Relation.count_followers(actor.id)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue