@@ -96,7 +96,7 @@ type ParagraphBlock struct {
96
96
HasChildren bool `json:"has_children,omitempty"`
97
97
Paragraph struct {
98
98
Text Paragraph `json:"text"`
99
- Children []Block `json:"children"`
99
+ Children []Block `json:"children,omitempty "`
100
100
} `json:"paragraph"`
101
101
}
102
102
@@ -161,7 +161,7 @@ type BulletedListItemBlock struct {
161
161
HasChildren bool `json:"has_children,omitempty"`
162
162
BulletedListItem struct {
163
163
Text Paragraph `json:"text"`
164
- Children []Block `json:"children"`
164
+ Children []Block `json:"children,omitempty "`
165
165
} `json:"bulleted_list_item"`
166
166
}
167
167
@@ -178,7 +178,7 @@ type NumberedListItemBlock struct {
178
178
HasChildren bool `json:"has_children,omitempty"`
179
179
NumberedListItem struct {
180
180
Text Paragraph `json:"text"`
181
- Children []Block `json:"children"`
181
+ Children []Block `json:"children,omitempty "`
182
182
} `json:"numbered_list_item"`
183
183
}
184
184
@@ -195,7 +195,7 @@ type ToDoBlock struct {
195
195
HasChildren bool `json:"has_children"`
196
196
ToDo struct {
197
197
Text Paragraph `json:"text"`
198
- Children []Block `json:"children"`
198
+ Children []Block `json:"children,omitempty "`
199
199
Checked bool `json:"checked"`
200
200
} `json:"to_do"`
201
201
}
@@ -212,10 +212,10 @@ type ToggleBlock struct {
212
212
LastEditedTime * time.Time `json:"last_edited_time,omitempty"`
213
213
HasChildren bool `json:"has_children,omitempty"`
214
214
Text Paragraph `json:"text"`
215
- Children []Block `json:"children"`
215
+ Children []Block `json:"children,omitempty "`
216
216
Toggle struct {
217
217
Text Paragraph `json:"text"`
218
- Children []Block `json:"children"`
218
+ Children []Block `json:"children,omitempty "`
219
219
} `json:"toggle"`
220
220
}
221
221
0 commit comments