add post-types

This commit is contained in:
Inhji 2023-06-08 09:21:33 +02:00
parent 59d0f954f2
commit b728fddf9a

View file

@ -56,7 +56,12 @@ defmodule ChiyaWeb.Indie.MicropubHandler do
{:ok, {:ok,
%{ %{
"destination" => [], "destination" => [],
"post-types" => [], "post-types" => [
%{
"type" => "note",
"name" => "Note"
}
],
"channels" => "channels" =>
Enum.map(channels, fn c -> Enum.map(channels, fn c ->
%{ %{