Parcourir la source

Support `author` parameter on posts

main
Matt Baer il y a 2 ans
Parent
révision
c00064f688
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. +2
    -0
      post.go

+ 2
- 0
post.go Voir le fichier

@@ -52,6 +52,8 @@ type (
IsRTL *bool `json:"rtl,omitempty"`
Language *string `json:"lang,omitempty"`

AuthorSlug *string `json:"author"`

// Parameters only for creating
Crosspost []map[string]string `json:"crosspost,omitempty"`



Chargement…
Annuler
Enregistrer