Make services aot compatible.

This commit is contained in:
Burak Kaan Köse
2025-11-14 14:28:10 +01:00
parent d9ef81729f
commit 8cb8f27e00
8 changed files with 58 additions and 57 deletions
+2 -2
View File
@@ -51,11 +51,11 @@ public class KeyboardShortcutService : BaseDatabaseService, IKeyboardShortcutSer
{
shortcut.Id = Guid.NewGuid();
shortcut.CreatedAt = DateTime.UtcNow;
await Connection.InsertAsync(shortcut);
await Connection.InsertAsync(shortcut, typeof(KeyboardShortcut));
}
else
{
await Connection.UpdateAsync(shortcut);
await Connection.UpdateAsync(shortcut, typeof(KeyboardShortcut));
}
return shortcut;