Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ public class DatabasesCreateParameters : IDatabasesCreateBodyParameters, IDataba

public bool? IsInline { get; set; }

public string Description { get; set; }
public List<RichTextBaseInput> Description { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ public interface IDatabasesCreateBodyParameters
bool? IsInline { get; set; }

[JsonProperty("description")]
string Description { get; set; }
List<RichTextBaseInput> Description { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ public class DatabasesUpdateParameters : IDatabasesUpdateBodyParameters

public bool? IsInline { get; set; }

public string Description { get; set; }
public List<RichTextBaseInput> Description { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ public interface IDatabasesUpdateBodyParameters
bool? IsInline { get; set; }

[JsonProperty("description")]
string Description { get; set; }
List<RichTextBaseInput> Description { get; set; }
}
}
2 changes: 1 addition & 1 deletion Src/Notion.Client/Models/Database/Database.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ public class Database : IObject, IObjectModificationData
public bool IsInline { get; set; }

[JsonProperty("description")]
public string Description { get; set; }
public IEnumerable<RichTextBase> Description { get; set; }
}
}