fix alias ordering

Signed-off-by: mkljczk <git@mkljczk.pl>
This commit is contained in:
mkljczk 2024-12-30 18:43:21 +01:00
commit 36b71733a0
4 changed files with 4 additions and 4 deletions

View file

@ -10,9 +10,9 @@ defmodule Pleroma.Hashtag do
alias Ecto.Multi alias Ecto.Multi
alias Pleroma.Hashtag alias Pleroma.Hashtag
alias Pleroma.User.HashtagFollow
alias Pleroma.Object alias Pleroma.Object
alias Pleroma.Repo alias Pleroma.Repo
alias Pleroma.User.HashtagFollow
schema "hashtags" do schema "hashtags" do
field(:name, :string) field(:name, :string)

View file

@ -20,7 +20,6 @@ defmodule Pleroma.User do
alias Pleroma.FollowingRelationship alias Pleroma.FollowingRelationship
alias Pleroma.Formatter alias Pleroma.Formatter
alias Pleroma.Hashtag alias Pleroma.Hashtag
alias Pleroma.User.HashtagFollow
alias Pleroma.HTML alias Pleroma.HTML
alias Pleroma.Keys alias Pleroma.Keys
alias Pleroma.MFA alias Pleroma.MFA
@ -29,6 +28,7 @@ defmodule Pleroma.User do
alias Pleroma.Registration alias Pleroma.Registration
alias Pleroma.Repo alias Pleroma.Repo
alias Pleroma.User alias Pleroma.User
alias Pleroma.User.HashtagFollow
alias Pleroma.UserRelationship alias Pleroma.UserRelationship
alias Pleroma.Web.ActivityPub.ActivityPub alias Pleroma.Web.ActivityPub.ActivityPub
alias Pleroma.Web.ActivityPub.Builder alias Pleroma.Web.ActivityPub.Builder

View file

@ -3,9 +3,9 @@ defmodule Pleroma.User.HashtagFollow do
import Ecto.Query import Ecto.Query
import Ecto.Changeset import Ecto.Changeset
alias Pleroma.User
alias Pleroma.Hashtag alias Pleroma.Hashtag
alias Pleroma.Repo alias Pleroma.Repo
alias Pleroma.User
schema "user_follows_hashtag" do schema "user_follows_hashtag" do
belongs_to(:user, User, type: FlakeId.Ecto.CompatType) belongs_to(:user, User, type: FlakeId.Ecto.CompatType)

View file

@ -2,9 +2,9 @@ defmodule Pleroma.Web.MastodonAPI.TagController do
@moduledoc "Hashtag routes for mastodon API" @moduledoc "Hashtag routes for mastodon API"
use Pleroma.Web, :controller use Pleroma.Web, :controller
alias Pleroma.User
alias Pleroma.Hashtag alias Pleroma.Hashtag
alias Pleroma.Pagination alias Pleroma.Pagination
alias Pleroma.User
import Pleroma.Web.ControllerHelper, import Pleroma.Web.ControllerHelper,
only: [ only: [