Fix `mix pleroma.user list` task
authorEgor Kislitsyn <egor@kislitsyn.com>
Mon, 2 Dec 2019 11:11:45 +0000 (18:11 +0700)
committerEgor Kislitsyn <egor@kislitsyn.com>
Mon, 2 Dec 2019 11:11:45 +0000 (18:11 +0700)
lib/mix/tasks/pleroma/user.ex

index bc8eacda82aa3ac23774605db4d52d3f98cdcc1c..0adb78fe3727ed83868ad424a59a2bdb25db475a 100644 (file)
@@ -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)