From 2acec128e8370f7cb288ab1e3011c7543b6c6242 Mon Sep 17 00:00:00 2001 From: Ryan Peters Date: Mon, 30 Oct 2023 10:07:35 -0400 Subject: [PATCH] add authorize to notehub --- NoteHub.cs | 2 ++ 1 file changed, 2 insertions(+) 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;