Updated javascript for new API changes
This commit is contained in:
@ -13,13 +13,13 @@ namespace YTManager.Controllers {
|
||||
struct Channel_ForAPI {
|
||||
public string Title;
|
||||
public string Description;
|
||||
public string YTID;
|
||||
public string ID;
|
||||
public List<string> Video_IDs;
|
||||
|
||||
public Channel_ForAPI(Models.Channel c) {
|
||||
Title = c.Title;
|
||||
Description = c.Description;
|
||||
YTID = c.YoutubeID;
|
||||
ID = c.YoutubeID;
|
||||
Video_IDs = c.Videos?.Select(v => v.YoutubeID).ToList();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user