inbox: use separate model for CreateInboxApiKeyRequest

This commit is contained in:
Abdullah Atta committed 2026-04-15 09:05:41 +05:00
1 parent 4278b0624e
commit 33413b0a5c
2 files changed
+10 -1

No files matched your search

+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()