inbox: use separate model for CreateInboxApiKeyRequest

This commit is contained in:
Abdullah Atta
2026-04-15 09:05:41 +05:00
parent 4278b0624e
commit 33413b0a5c
2 changed files with 10 additions and 1 deletions
+9
View File
@@ -24,6 +24,15 @@ using NanoidDotNet;
namespace Notesnook.API.Models
{
public class CreateInboxApiKeyRequest
{
[JsonPropertyName("name")]
public required string Name { get; set; }
[JsonPropertyName("expiryDate")]
public long ExpiryDate { get; set; }
}
public class InboxApiKey
{
public InboxApiKey()