aboutsummaryrefslogtreecommitdiff
path: root/lib/mix/tasks
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-07-10 08:58:44 +0000
committerlain <lain@soykaf.club>2020-07-10 08:58:44 +0000
commit48f98a27485cbb77613c852433b3259d7abf551f (patch)
tree000af75fc991c9ca92c36c2ce8fea435f08c1580 /lib/mix/tasks
parent4d809144d84c743efbabeb2ca85f34f360a61b1e (diff)
parent79707e879d3af359be9e1f6ac10717cc9cb72b2c (diff)
downloadpleroma-48f98a27485cbb77613c852433b3259d7abf551f.tar.gz
Merge branch 'mix-tasks-improvement' into 'develop'
Mix tasks improvement See merge request pleroma/pleroma!2723
Diffstat (limited to 'lib/mix/tasks')
-rw-r--r--lib/mix/tasks/pleroma/user.ex4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mix/tasks/pleroma/user.ex b/lib/mix/tasks/pleroma/user.ex
index bca7e87bf..01824aa18 100644
--- a/lib/mix/tasks/pleroma/user.ex
+++ b/lib/mix/tasks/pleroma/user.ex
@@ -232,7 +232,7 @@ defmodule Mix.Tasks.Pleroma.User do
with %User{} = user <- User.get_cached_by_nickname(nickname) do
user = user |> User.tag(tags)
- shell_info("Tags of #{user.nickname}: #{inspect(tags)}")
+ shell_info("Tags of #{user.nickname}: #{inspect(user.tags)}")
else
_ ->
shell_error("Could not change user tags for #{nickname}")
@@ -245,7 +245,7 @@ defmodule Mix.Tasks.Pleroma.User do
with %User{} = user <- User.get_cached_by_nickname(nickname) do
user = user |> User.untag(tags)
- shell_info("Tags of #{user.nickname}: #{inspect(tags)}")
+ shell_info("Tags of #{user.nickname}: #{inspect(user.tags)}")
else
_ ->
shell_error("Could not change user tags for #{nickname}")