Use string map for default mascot
authorSadposter <hannah+pleroma@coffee-and-dreams.uk>
Mon, 20 May 2019 12:10:04 +0000 (13:10 +0100)
committerSadposter <hannah+pleroma@coffee-and-dreams.uk>
Mon, 20 May 2019 12:10:04 +0000 (13:10 +0100)
lib/pleroma/user/info.ex

index ffcd06e3ebcc1037538eca73edcdea5fe2689cb6..e76d04d7f07f0bbda5f414aef16d93d118f2e834 100644 (file)
@@ -46,12 +46,12 @@ defmodule Pleroma.User.Info do
 
     field(:mascot, :map,
       default: %{
-        id: "pleromatan",
-        url: "/images/pleroma-fox-tan-smol.png",
-        type: "image",
-        preview_url: "/images/pleroma-fox-tan-smol.png",
-        pleroma: %{
-          mime_type: "image/png"
+        "id" => "pleromatan",
+        "url" => "/images/pleroma-fox-tan-smol.png",
+        "type" => "image",
+        "preview_url" => "/images/pleroma-fox-tan-smol.png",
+        "pleroma" => %{
+          "mime_type" => "image/png"
         }
       }
     )