8000 Fixed synced block serialization (#1) · Sphere10/notion-sdk-net@06ea4f4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 06ea4f4

Browse files
Fixed synced block serialization (#1)
Fix synced block serialization
1 parent 6cfcbcf commit 06ea4f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Src/Notion.Client/Models/Blocks/IBlock.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ namespace Notion.Client
2929
[JsonSubtypes.KnownSubTypeAttribute(typeof(ParagraphBlock), BlockType.Paragraph)]
3030
[JsonSubtypes.KnownSubTypeAttribute(typeof(PDFBlock), BlockType.PDF)]
3131
[JsonSubtypes.KnownSubTypeAttribute(typeof(QuoteBlock), BlockType.Quote)]
32-
[JsonSubtypes.KnownSubTypeAttribute(typeof(UnsupportedBlock), BlockType.SyncedBlock)]
32+
[JsonSubtypes.KnownSubTypeAttribute(typeof(SyncedBlockBlock), BlockType.SyncedBlock)]
3333
[JsonSubtypes.KnownSubTypeAttribute(typeof(TableBlock), BlockType.Table)]
3434
[JsonSubtypes.KnownSubTypeAttribute(typeof(TableRowBlock), BlockType.TableRow)]
3535
[JsonSubtypes.KnownSubTypeAttribute(typeof(TableOfContentsBlock), BlockType.TableOfContents)]

0 commit comments

Comments
 (0)
0