Skip to content

Commit

Permalink
Add children to paragraph block
Browse files Browse the repository at this point in the history
  • Loading branch information
jomei committed Aug 1, 2021
1 parent bd96530 commit 9e5dc58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion block.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ type ParagraphBlock struct {
LastEditedTime *time.Time `json:"last_edited_time,omitempty"`
HasChildren bool `json:"has_children,omitempty"`
Paragraph struct {
Text Paragraph `json:"text"`
Text Paragraph `json:"text"`
Children []Block `json:"children"`
} `json:"paragraph"`
}

Expand Down

0 comments on commit 9e5dc58

Please sign in to comment.