fix 401 authorize problem
This commit is contained in:
parent
6f419b3373
commit
e75ea84e66
|
|
@ -1,5 +1,4 @@
|
|||
using Koogle.Application.DTOs;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.SignalR;
|
||||
|
||||
namespace Koogle.Web.Hubs;
|
||||
|
|
@ -7,8 +6,8 @@ namespace Koogle.Web.Hubs;
|
|||
/// <summary>
|
||||
/// SignalR hub for real-time game state synchronization.
|
||||
/// Clients join game-specific groups to receive updates.
|
||||
/// Note: Authorization handled at page level (DayDetails requires ClubViewer policy).
|
||||
/// </summary>
|
||||
[Authorize]
|
||||
public class GameHub : Hub<IGameHubClient>
|
||||
{
|
||||
private readonly ILogger<GameHub> _logger;
|
||||
|
|
|
|||
Loading…
Reference in New Issue