Merge branch 'fix/user-list-task' into 'develop'

Fix `mix pleroma.user list` task

See merge request pleroma/pleroma!2029
This commit is contained in:
lain 2019-12-09 14:44:56 +00:00
commit f3c2363f4a

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)