Fix `mix pleroma.user list` task

This commit is contained in:
Egor Kislitsyn 2019-12-02 18:11:45 +07:00
parent 0d24ab04c5
commit 356a936ecb
1 changed files with 3 additions and 3 deletions

View File

@ -373,9 +373,9 @@ def run(["list"]) do
users users
|> Enum.each(fn user -> |> Enum.each(fn user ->
shell_info( shell_info(
"#{user.nickname} moderator: #{user.info.is_moderator}, admin: #{user.info.is_admin}, locked: #{ "#{user.nickname} moderator: #{user.is_moderator}, admin: #{user.is_admin}, locked: #{
user.info.locked user.locked
}, deactivated: #{user.info.deactivated}" }, deactivated: #{user.deactivated}"
) )
end) end)
end) end)