api: fix minor issues
This commit is contained in:
committed by
Abdullah Atta
parent
41a185bd9f
commit
908d64bd4f
@@ -75,7 +75,7 @@ namespace Notesnook.API.Models
|
||||
public bool SelfDestruct { get; set; }
|
||||
|
||||
[JsonPropertyName("encryptedContent")]
|
||||
public EncryptedData EncryptedContent { get; set; }
|
||||
public EncryptedData? EncryptedContent { get; set; }
|
||||
|
||||
[JsonPropertyName("datePublished")]
|
||||
public long DatePublished { get; set; }
|
||||
@@ -85,10 +85,10 @@ namespace Notesnook.API.Models
|
||||
public string Content { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public byte[] CompressedContent { get; set; }
|
||||
public byte[]? CompressedContent { get; set; }
|
||||
|
||||
[JsonPropertyName("password")]
|
||||
public EncryptedData Password { get; set; }
|
||||
public EncryptedData? Password { get; set; }
|
||||
|
||||
[JsonPropertyName("deleted")]
|
||||
public bool Deleted { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user