refactor(AuthHub): SendKeyAsync aktualisiert, um Caller anstelle von All zu verwenden
This commit is contained in:
parent
c47197606b
commit
062942b2d2
@ -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);
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user