Skip to content

Commit

Permalink
Adding serialization for Page.PageType
Browse files Browse the repository at this point in the history
  • Loading branch information
jakelumetta authored Apr 16, 2019
1 parent f45aa54 commit 28ea423
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions page.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package ButterCMS

type Page struct {
Slug string `json:"slug"`
Fields map[string]interface{} `json:"fields"`
Slug string `json:"slug"`
PageType string `json:"page_type"`
Fields map[string]interface{} `json:"fields"`
}

0 comments on commit 28ea423

Please sign in to comment.