projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'cleanup-subscription-controller' into 'develop'
[akkoma]
/
priv
/
repo
/
migrations
/
20200406100225_users_add_emoji.exs
diff --git
a/priv/repo/migrations/20200406100225_users_add_emoji.exs
b/priv/repo/migrations/20200406100225_users_add_emoji.exs
index f754502ae44dbd3f2ea109fbbe1ba62c0b8ac763..f248108defbd11d8cc1080cd7e3298eba38af5b1 100644
(file)
--- a/
priv/repo/migrations/20200406100225_users_add_emoji.exs
+++ b/
priv/repo/migrations/20200406100225_users_add_emoji.exs
@@
-18,7
+18,7
@@
defmodule Pleroma.Repo.Migrations.UsersPopulateEmoji do
user.source_data
|> Map.get("tag", [])
|> Enum.filter(fn
user.source_data
|> Map.get("tag", [])
|> Enum.filter(fn
- %{"type" =>
t} -> t == "Emoji"
+ %{"type" =>
"Emoji"} -> true
_ -> false
end)
|> Enum.reduce(%{}, fn %{"icon" => %{"url" => url}, "name" => name}, acc ->
_ -> false
end)
|> Enum.reduce(%{}, fn %{"icon" => %{"url" => url}, "name" => name}, acc ->