New Year Bugs (#2513)

This commit is contained in:
Joe Milazzo 2024-01-02 18:53:10 -06:00 committed by GitHub
parent fcacd67d71
commit 5dfcccba7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 230 additions and 142 deletions

View file

@ -1,5 +1,6 @@
using System.Collections.Generic;
using API.DTOs.Scrobbling;
using API.Services.Plus;
namespace API.DTOs.Recommendation;
#nullable enable
@ -19,4 +20,5 @@ public class ExternalSeriesDetailDto
public string? Summary { get; set; }
public int? VolumeCount { get; set; }
public int? ChapterCount { get; set; }
public ScrobbleProvider Provider { get; set; } = ScrobbleProvider.AniList;
}

View file

@ -1,4 +1,6 @@
namespace API.DTOs.Recommendation;
using API.Services.Plus;
namespace API.DTOs.Recommendation;
#nullable enable
public class ExternalSeriesDto
@ -9,4 +11,5 @@ public class ExternalSeriesDto
public string? Summary { get; set; }
public int? AniListId { get; set; }
public long? MalId { get; set; }
public ScrobbleProvider Provider { get; set; } = ScrobbleProvider.AniList;
}

View file

@ -6,7 +6,5 @@ namespace API.DTOs.SeriesDetail;
public class UpdateUserReviewDto
{
public int SeriesId { get; set; }
[MaxLength(120)]
public string? Tagline { get; set; }
public string Body { get; set; }
}

View file

@ -12,6 +12,7 @@ public class UserReviewDto
/// <summary>
/// A tagline for the review
/// </summary>
/// <remarks>This is not possible to set as a local user</remarks>
public string? Tagline { get; set; }
/// <summary>