mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-05-30 18:09:37 +02:00
inbox: use separate model for CreateInboxApiKeyRequest
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user