Commit 85b2387f authored by feld's avatar feld
Browse files

Fix build_application/1 match

parent b1e1db82
Pipeline #35318 failed with stages
in 8 minutes and 56 seconds
......@@ -536,6 +536,8 @@ defp build_emoji_map(emoji, users, current_user) do
@spec build_application(map() | nil) :: map() | nil
defp build_application(%{type: _type, name: name, url: url}), do: %{name: name, website: url}
defp build_application(%{"type" => _type, "name" => name, "url" => url}),
do: %{name: name, website: url}
defp build_application(_), do: nil
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment