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.
13 lines
No EOL
406 B
C#
13 lines
No EOL
406 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace FreeTubeSync.Model;
|
|
|
|
public class Profile : BaseModel
|
|
{
|
|
[Key]
|
|
public string _id { get; set; } = string.Empty;
|
|
public string name { get; set; } = string.Empty;
|
|
public string bgColor { get; set; } = string.Empty;
|
|
public string textColor { get; set; } = string.Empty;
|
|
public List<Subscription> subscriptions { get; set; } = [];
|
|
} |