mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-14 03:24:04 +00:00
formatting
This commit is contained in:
parent
ffd9ad1f0c
commit
8c0c930041
|
@ -134,7 +134,8 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPI do
|
||||||
}
|
}
|
||||||
|
|
||||||
# no need to query DB if registration is open
|
# no need to query DB if registration is open
|
||||||
token = unless @registrations_open || is_nil(tokenString) do
|
token =
|
||||||
|
unless @registrations_open || is_nil(tokenString) do
|
||||||
Repo.get_by(UserInviteToken, %{token: tokenString})
|
Repo.get_by(UserInviteToken, %{token: tokenString})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue