diff --git a/Src/Notion.Client/Api/Blocks/RequestParams/BlocksUpdateParameters/UpdateBlocks/HeadingThreeeUpdateBlock.cs b/Src/Notion.Client/Api/Blocks/RequestParams/BlocksUpdateParameters/UpdateBlocks/HeadingThreeeUpdateBlock.cs index 353d1a98..d2eb4861 100644 --- a/Src/Notion.Client/Api/Blocks/RequestParams/BlocksUpdateParameters/UpdateBlocks/HeadingThreeeUpdateBlock.cs +++ b/Src/Notion.Client/Api/Blocks/RequestParams/BlocksUpdateParameters/UpdateBlocks/HeadingThreeeUpdateBlock.cs @@ -4,7 +4,7 @@ namespace Notion.Client { - public class HeadingThreeeUpdateBlock : UpdateBlock + public class HeadingThreeUpdateBlock : UpdateBlock { [JsonProperty("heading_3")] [SuppressMessage("ReSharper", "InconsistentNaming")] diff --git a/Src/Notion.Client/Api/Databases/RequestParams/DatabasesCreateParameters/PropertySchema/RelationPropertySchema.cs b/Src/Notion.Client/Api/Databases/RequestParams/DatabasesCreateParameters/PropertySchema/RelationPropertySchema.cs index bee17690..fa6a3249 100644 --- a/Src/Notion.Client/Api/Databases/RequestParams/DatabasesCreateParameters/PropertySchema/RelationPropertySchema.cs +++ b/Src/Notion.Client/Api/Databases/RequestParams/DatabasesCreateParameters/PropertySchema/RelationPropertySchema.cs @@ -14,10 +14,10 @@ public class RelationInfo public Guid DatabaseId { get; set; } [JsonProperty("synced_property_id")] - public string SynchedPropertyId { get; set; } + public string SyncedPropertyId { get; set; } [JsonProperty("synced_property_name")] - public string SynchedPropertyName { get; set; } + public string SyncedPropertyName { get; set; } } } } diff --git a/Src/Notion.Client/Api/Databases/RequestParams/DatabasesUpdateParameters/PropertySchema/RelationUpdatePropertySchema.cs b/Src/Notion.Client/Api/Databases/RequestParams/DatabasesUpdateParameters/PropertySchema/RelationUpdatePropertySchema.cs index 1565cd4a..4f6a74a3 100644 --- a/Src/Notion.Client/Api/Databases/RequestParams/DatabasesUpdateParameters/PropertySchema/RelationUpdatePropertySchema.cs +++ b/Src/Notion.Client/Api/Databases/RequestParams/DatabasesUpdateParameters/PropertySchema/RelationUpdatePropertySchema.cs @@ -14,10 +14,10 @@ public class RelationInfo public Guid DatabaseId { get; set; } [JsonProperty("synced_property_id")] - public string SynchedPropertyId { get; set; } + public string SyncedPropertyId { get; set; } [JsonProperty("synced_property_name")] - public string SynchedPropertyName { get; set; } + public string SyncedPropertyName { get; set; } } } } diff --git a/Src/Notion.Client/Models/Blocks/HeadingThreeeBlock.cs b/Src/Notion.Client/Models/Blocks/HeadingThreeeBlock.cs index c6abc213..deada7de 100644 --- a/Src/Notion.Client/Models/Blocks/HeadingThreeeBlock.cs +++ b/Src/Notion.Client/Models/Blocks/HeadingThreeeBlock.cs @@ -5,7 +5,7 @@ namespace Notion.Client { - public class HeadingThreeeBlock : Block, IColumnChildrenBlock, INonColumnBlock + public class HeadingThreeBlock : Block, IColumnChildrenBlock, INonColumnBlock { [JsonProperty("heading_3")] [SuppressMessage("ReSharper", "InconsistentNaming")] diff --git a/Src/Notion.Client/Models/Blocks/IBlock.cs b/Src/Notion.Client/Models/Blocks/IBlock.cs index fcf5364d..df625cf6 100644 --- a/Src/Notion.Client/Models/Blocks/IBlock.cs +++ b/Src/Notion.Client/Models/Blocks/IBlock.cs @@ -21,7 +21,7 @@ namespace Notion.Client [JsonSubtypes.KnownSubTypeAttribute(typeof(FileBlock), BlockType.File)] [JsonSubtypes.KnownSubTypeAttribute(typeof(HeadingOneBlock), BlockType.Heading_1)] [JsonSubtypes.KnownSubTypeAttribute(typeof(HeadingTwoBlock), BlockType.Heading_2)] - [JsonSubtypes.KnownSubTypeAttribute(typeof(HeadingThreeeBlock), BlockType.Heading_3)] + [JsonSubtypes.KnownSubTypeAttribute(typeof(HeadingThreeBlock), BlockType.Heading_3)] [JsonSubtypes.KnownSubTypeAttribute(typeof(ImageBlock), BlockType.Image)] [JsonSubtypes.KnownSubTypeAttribute(typeof(LinkPreviewBlock), BlockType.LinkPreview)] [JsonSubtypes.KnownSubTypeAttribute(typeof(LinkToPageBlock), BlockType.LinkToPage)] diff --git a/Src/Notion.Client/Models/Blocks/IColumnChildrenBlock.cs b/Src/Notion.Client/Models/Blocks/IColumnChildrenBlock.cs index 8c1e1446..769487c8 100644 --- a/Src/Notion.Client/Models/Blocks/IColumnChildrenBlock.cs +++ b/Src/Notion.Client/Models/Blocks/IColumnChildrenBlock.cs @@ -1,6 +1,6 @@ namespace Notion.Client { - public interface ITemplateChildrendBlock : IBlock + public interface ITemplateChildrenBlock : IBlock { } @@ -8,7 +8,7 @@ public interface ISyncedBlockChildren : IBlock { } - public interface IColumnChildrenBlock : ITemplateChildrendBlock, ISyncedBlockChildren + public interface IColumnChildrenBlock : ITemplateChildrenBlock, ISyncedBlockChildren { } diff --git a/Src/Notion.Client/Models/Blocks/TemplateBlock.cs b/Src/Notion.Client/Models/Blocks/TemplateBlock.cs index 705eaac3..867e7c85 100644 --- a/Src/Notion.Client/Models/Blocks/TemplateBlock.cs +++ b/Src/Notion.Client/Models/Blocks/TemplateBlock.cs @@ -16,7 +16,7 @@ public class Data public IEnumerable RichText { get; set; } [JsonProperty("children")] - public IEnumerable Children { get; set; } + public IEnumerable Children { get; set; } } } } diff --git a/Test/Notion.IntegrationTests/IBlocksClientTests.cs b/Test/Notion.IntegrationTests/IBlocksClientTests.cs index 34459f01..51e32072 100644 --- a/Test/Notion.IntegrationTests/IBlocksClientTests.cs +++ b/Test/Notion.IntegrationTests/IBlocksClientTests.cs @@ -370,7 +370,7 @@ private static IEnumerable BlockData() { new RichTextText { Text = new Text { Content = "Test Template" } } }, - Children = new List + Children = new List { new EmbedBlock {