Skip to content
Snippets Groups Projects
Commit f3964f40 authored by Maxim Filippov's avatar Maxim Filippov :new_moon_with_face:
Browse files

Ensure empty array is returned for tags

parent 257d8e78
Branches
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment