From 32bb4c7ca27c5c035b558365b6336b195120085a Mon Sep 17 00:00:00 2001 From: miraikumiko Date: Thu, 19 Jun 2025 06:03:35 +0200 Subject: [PATCH] Fix follow_controller.ex --- lib/nulla_web/controllers/follow_controller.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/nulla_web/controllers/follow_controller.ex b/lib/nulla_web/controllers/follow_controller.ex index e6448c5..ca5afee 100644 --- a/lib/nulla_web/controllers/follow_controller.ex +++ b/lib/nulla_web/controllers/follow_controller.ex @@ -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)