add authorize to notehub

This commit is contained in:
Ryan Peters 2023-10-30 10:07:35 -04:00
parent ca48d79f55
commit 2acec128e8

View File

@ -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;