api: improve sync hub auth

This commit is contained in:
Abdullah Atta authored and Abdullah Atta committed 2025-10-07 16:44:15 +05:00
1 parent 44a9ff57e7
commit b3dcdda697
4 files changed
+13 -18

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ namespace Notesnook.API.Hubs
Task PushCompleted();
}
[Authorize("Sync")]
[Authorize]
public class SyncV2Hub : Hub<ISyncV2HubClient>
{
private ISyncItemsRepositoryAccessor Repositories { get; }