add authorize to notehub
This commit is contained in:
parent
ca48d79f55
commit
2acec128e8
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user