mirror of
https://github.com/TeamPiped/piped-rust-sdk.git
synced 2024-08-14 23:56:06 +00:00
Fix some errors parsing certain subscriptions
Some fields have been marked as optional. See https://github.com/Tubefeeder/Tubefeeder/issues/49 for some details and examples.
This commit is contained in:
parent
63a9621b26
commit
7662654260
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ pub struct Channel {
|
||||||
pub id: String,
|
pub id: String,
|
||||||
pub name: String,
|
pub name: String,
|
||||||
pub avatar_url: String,
|
pub avatar_url: String,
|
||||||
pub banner_url: String,
|
pub banner_url: Option<String>,
|
||||||
pub description: String,
|
pub description: String,
|
||||||
pub nextpage: Option<String>,
|
pub nextpage: Option<String>,
|
||||||
pub nextbody: Option<String>,
|
pub nextbody: Option<String>,
|
||||||
|
@ -21,7 +21,7 @@ pub struct Playlist {
|
||||||
pub banner_url: Option<String>,
|
pub banner_url: Option<String>,
|
||||||
pub uploader: String,
|
pub uploader: String,
|
||||||
pub uploader_url: String,
|
pub uploader_url: String,
|
||||||
pub uploader_avatar: String,
|
pub uploader_avatar: Option<String>,
|
||||||
pub videos: i32,
|
pub videos: i32,
|
||||||
pub nextpage: Option<String>,
|
pub nextpage: Option<String>,
|
||||||
pub nextbody: Option<String>,
|
pub nextbody: Option<String>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue