From d3894d2a9f2198c480694fe5ce4954004a17ab3c Mon Sep 17 00:00:00 2001 From: Abdullah Atta Date: Mon, 18 Aug 2025 17:54:14 +0500 Subject: [PATCH] sync: fix `StorageLimit does not match any field or property` --- Notesnook.API/Models/UserSettings.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Notesnook.API/Models/UserSettings.cs b/Notesnook.API/Models/UserSettings.cs index fc9d4e0..3020ddc 100644 --- a/Notesnook.API/Models/UserSettings.cs +++ b/Notesnook.API/Models/UserSettings.cs @@ -23,6 +23,12 @@ using Notesnook.API.Interfaces; namespace Notesnook.API.Models { + public class Limit + { + public long Value { get; set; } + public long UpdatedAt { get; set; } + } + public class UserSettings : IUserSettings { public UserSettings() @@ -35,6 +41,7 @@ namespace Notesnook.API.Models public EncryptedData VaultKey { get; set; } public EncryptedData AttachmentsKey { get; set; } public EncryptedData MonographPasswordsKey { get; set; } + public Limit StorageLimit { get; set; } [BsonId] [BsonRepresentation(BsonType.ObjectId)]