fix 401 authorize problem

This commit is contained in:
beo3000 2025-12-29 17:16:44 +01:00
parent 6f419b3373
commit e75ea84e66
1 changed files with 1 additions and 2 deletions

View File

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