diff options
author | Maxim Filippov <colixer@gmail.com> | 2019-03-14 03:17:09 +0300 |
---|---|---|
committer | Maxim Filippov <colixer@gmail.com> | 2019-03-14 03:17:09 +0300 |
commit | f3964f4024d5f5c0738e1ca8ce44742330bc0a80 (patch) | |
tree | 75f8258f0edc8dad33137ddf2c0775dd967b909d /lib | |
parent | 257d8e78e54a7b2d27bcb129bface01a543fc68f (diff) | |
download | pleroma-f3964f4024d5f5c0738e1ca8ce44742330bc0a80.tar.gz |
Ensure empty array is returned for tags
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/mastodon_api/views/admin/account_view.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/mastodon_api/views/admin/account_view.ex b/lib/pleroma/web/mastodon_api/views/admin/account_view.ex index efb26be64..787b049a3 100644 --- a/lib/pleroma/web/mastodon_api/views/admin/account_view.ex +++ b/lib/pleroma/web/mastodon_api/views/admin/account_view.ex @@ -23,7 +23,7 @@ defmodule Pleroma.Web.MastodonAPI.Admin.AccountView do "deactivated" => user.info.deactivated, "local" => user.local, "roles" => Info.roles(user.info), - "tags" => user.tags + "tags" => user.tags || [] } end end |