diff --git a/NoteHub.cs b/NoteHub.cs index 881105b..9293513 100644 --- a/NoteHub.cs +++ b/NoteHub.cs @@ -1,8 +1,10 @@ using BinaryDad.Notes.Services; +using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.SignalR; namespace BinaryDad.Notes { + [Authorize] public class NoteHub : Hub { private readonly INoteService noteService;