Skip to content

Commit 9ca4c5e

Browse files
Merge pull request #238 from vijayvarmaD/fix/232_naming_convention_url_property
Matched the naming convention for property URL across project
2 parents ba59ee0 + abd0ea1 commit 9ca4c5e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
namespace Notion.Client
55
{
6-
public class URLPropertyScheam : IPropertySchema
6+
public class UrlPropertySchema : IPropertySchema
77
{
88
[JsonProperty("url")]
99
public Dictionary<string, object> Url { get; set; }

Src/Notion.Client/Api/Databases/RequestParams/DatabasesUpdateParameters/PropertySchema/URLUpdatePropertySchema.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
namespace Notion.Client
55
{
6-
public class URLUpdatePropertySchema : UpdatePropertySchema, IUpdatePropertySchema
6+
public class UrlUpdatePropertySchema : UpdatePropertySchema, IUpdatePropertySchema
77
{
88
[JsonProperty("url")]
99
public Dictionary<string, object> Url { get; set; }

Src/Notion.Client/NotionAPIErrorCode.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public enum NotionAPIErrorCode
88
InvalidJSON,
99

1010
[EnumMember(Value = "invalid_request_url")]
11-
InvalidRequestURL,
11+
InvalidRequestUrl,
1212

1313
[EnumMember(Value = "invalid_request")]
1414
InvalidRequest,

0 commit comments

Comments
 (0)