From: Egor Kislitsyn Date: Mon, 2 Dec 2019 11:11:45 +0000 (+0700) Subject: Fix `mix pleroma.user list` task X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=356a936ecbddf6bbdfada2ef70264b99e9d9723c;p=akkoma Fix `mix pleroma.user list` task --- diff --git a/lib/mix/tasks/pleroma/user.ex b/lib/mix/tasks/pleroma/user.ex index bc8eacda8..0adb78fe3 100644 --- a/lib/mix/tasks/pleroma/user.ex +++ b/lib/mix/tasks/pleroma/user.ex @@ -373,9 +373,9 @@ defmodule Mix.Tasks.Pleroma.User do users |> Enum.each(fn user -> shell_info( - "#{user.nickname} moderator: #{user.info.is_moderator}, admin: #{user.info.is_admin}, locked: #{ - user.info.locked - }, deactivated: #{user.info.deactivated}" + "#{user.nickname} moderator: #{user.is_moderator}, admin: #{user.is_admin}, locked: #{ + user.locked + }, deactivated: #{user.deactivated}" ) end) end)