refactor(AuthHub): SendKeyAsync aktualisiert, um Caller anstelle von All zu verwenden

This commit is contained in:
Developer 02 2025-03-04 11:45:44 +01:00
parent c47197606b
commit 062942b2d2

View File

@ -6,5 +6,5 @@ namespace DigitalData.Auth.API.Hubs;
public class AuthHub : Hub<IAuthListenHandler>, IAuthSenderHandler
{
public async Task SendKeyAsync(string name, string value)
=> await Clients.All.ReceiveKeyAsync(name, value);
=> await Clients.Caller.ReceiveKeyAsync(name, value);
}