add post-types
This commit is contained in:
parent
59d0f954f2
commit
b728fddf9a
1 changed files with 6 additions and 1 deletions
|
@ -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 ->
|
||||||
%{
|
%{
|
||||||
|
|
Loading…
Reference in a new issue