Kavita+ Reset License & Discord Integration (#2516)
This commit is contained in:
parent
138794ffed
commit
c37596889a
15 changed files with 230 additions and 86 deletions
|
@ -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; }
|
||||
}
|
||||
|
|
8
API/DTOs/License/ResetLicenseDto.cs
Normal file
8
API/DTOs/License/ResetLicenseDto.cs
Normal 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; }
|
||||
}
|
|
@ -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; }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue