commit: 36b71733a06e1ab6288c2f74968e6f04a002e7ec
parent f565cf2b5b9d13a407e18aa2f7c52fb12588117b
Author: mkljczk <git@mkljczk.pl>
Date: Mon, 30 Dec 2024 18:43:21 +0100
fix alias ordering
Signed-off-by: mkljczk <git@mkljczk.pl>
Diffstat:
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/pleroma/hashtag.ex b/lib/pleroma/hashtag.ex
@@ -10,9 +10,9 @@ defmodule Pleroma.Hashtag do
alias Ecto.Multi
alias Pleroma.Hashtag
- alias Pleroma.User.HashtagFollow
alias Pleroma.Object
alias Pleroma.Repo
+ alias Pleroma.User.HashtagFollow
schema "hashtags" do
field(:name, :string)
diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex
@@ -20,7 +20,6 @@ defmodule Pleroma.User do
alias Pleroma.FollowingRelationship
alias Pleroma.Formatter
alias Pleroma.Hashtag
- alias Pleroma.User.HashtagFollow
alias Pleroma.HTML
alias Pleroma.Keys
alias Pleroma.MFA
@@ -29,6 +28,7 @@ defmodule Pleroma.User do
alias Pleroma.Registration
alias Pleroma.Repo
alias Pleroma.User
+ alias Pleroma.User.HashtagFollow
alias Pleroma.UserRelationship
alias Pleroma.Web.ActivityPub.ActivityPub
alias Pleroma.Web.ActivityPub.Builder
diff --git a/lib/pleroma/user/hashtag_follow.ex b/lib/pleroma/user/hashtag_follow.ex
@@ -3,9 +3,9 @@ defmodule Pleroma.User.HashtagFollow do
import Ecto.Query
import Ecto.Changeset
- alias Pleroma.User
alias Pleroma.Hashtag
alias Pleroma.Repo
+ alias Pleroma.User
schema "user_follows_hashtag" do
belongs_to(:user, User, type: FlakeId.Ecto.CompatType)
diff --git a/lib/pleroma/web/mastodon_api/controllers/tag_controller.ex b/lib/pleroma/web/mastodon_api/controllers/tag_controller.ex
@@ -2,9 +2,9 @@ defmodule Pleroma.Web.MastodonAPI.TagController do
@moduledoc "Hashtag routes for mastodon API"
use Pleroma.Web, :controller
- alias Pleroma.User
alias Pleroma.Hashtag
alias Pleroma.Pagination
+ alias Pleroma.User
import Pleroma.Web.ControllerHelper,
only: [