From 83b1d6e22f3fff5e0f9c88bdcf935d50e91c5e0f Mon Sep 17 00:00:00 2001 From: Inhji Date: Thu, 8 Jun 2023 15:03:12 +0200 Subject: [PATCH] fix channels --- lib/chiya_web/indie/micropub_handler.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/chiya_web/indie/micropub_handler.ex b/lib/chiya_web/indie/micropub_handler.ex index b84f4e9..80cbf91 100644 --- a/lib/chiya_web/indie/micropub_handler.ex +++ b/lib/chiya_web/indie/micropub_handler.ex @@ -65,8 +65,8 @@ defmodule ChiyaWeb.Indie.MicropubHandler do "channels" => Enum.map(channels, fn c -> %{ - uid: c.slug, - name: c.name + "uid" => c.slug, + "name" => c.name } end) }}