Merge pull request 'add post-types' (#99) from devel into main

Reviewed-on: #99
This commit is contained in:
inhji 2023-06-08 09:22:02 +02:00
commit 774ee24dab

View file

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