Skip to content

Commit b2d5708

Browse files
Merge pull request #393 from kashif-forks/#390/add-missing-property-in-paginated-response
Add missing property in paginated response
2 parents 47be322 + 9ada441 commit b2d5708

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Src/Notion.Client/Api/Comments/Retrieve/Response/Comments.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ namespace Notion.Client
55
{
66
public class RetrieveCommentsResponse : PaginatedList<Comment>
77
{
8-
[JsonProperty("type")]
9-
public string Type { get; set; }
10-
118
[JsonProperty("comment")]
129
public Dictionary<string, object> Comment { get; set; }
1310
}

Src/Notion.Client/Models/PaginatedList.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,8 @@ public class PaginatedList<T>
2525

2626
[JsonProperty("next_cursor")]
2727
public string NextCursor { get; set; }
28+
29+
[JsonProperty("type")]
30+
public string Type { get; set; }
2831
}
2932
}

0 commit comments

Comments
 (0)