refactor(AuthHub): SendKeyAsync aktualisiert, um Caller anstelle von All zu verwenden
This commit is contained in:
@@ -6,5 +6,5 @@ namespace DigitalData.Auth.API.Hubs;
|
|||||||
public class AuthHub : Hub<IAuthListenHandler>, IAuthSenderHandler
|
public class AuthHub : Hub<IAuthListenHandler>, IAuthSenderHandler
|
||||||
{
|
{
|
||||||
public async Task SendKeyAsync(string name, string value)
|
public async Task SendKeyAsync(string name, string value)
|
||||||
=> await Clients.All.ReceiveKeyAsync(name, value);
|
=> await Clients.Caller.ReceiveKeyAsync(name, value);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user