Change logging to just log a message, instead of the exception. Moved logic to Syncer involvement. When posting the data, if a 500 is returned, then it is up to the Syncer to re-submit it.
14 lines
No EOL
412 B
C#
14 lines
No EOL
412 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace FreeTubeSync.Model;
|
|
|
|
public class Playlist : BaseModel
|
|
{
|
|
[Key]
|
|
public string _id { get; set; } = string.Empty;
|
|
public string playlistName { get; set; } = string.Empty;
|
|
public bool @protected { get; set; }
|
|
public List<Video> videos { get; set; } = [];
|
|
public long createdAt { get; set; }
|
|
public long lastUpdatedAt { get; set; }
|
|
} |