Kavita+ Reset License & Discord Integration (#2516)

This commit is contained in:
Joe Milazzo 2024-01-04 14:53:15 -06:00 committed by GitHub
parent 138794ffed
commit c37596889a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 230 additions and 86 deletions

View file

@ -5,4 +5,5 @@ public class EncryptLicenseDto
public required string License { get; set; }
public required string InstallId { get; set; }
public required string EmailId { get; set; }
public string? DiscordId { get; set; }
}

View file

@ -0,0 +1,8 @@
namespace API.DTOs.License;
public class ResetLicenseDto
{
public required string License { get; set; }
public required string InstallId { get; set; }
public required string EmailId { get; set; }
}

View file

@ -10,4 +10,8 @@ public class UpdateLicenseDto
/// Email registered with Stripe
/// </summary>
public required string Email { get; set; }
/// <summary>
/// Optional DiscordId
/// </summary>
public string? DiscordId { get; set; }
}