test small fixes
This commit is contained in:
parent
5551918d54
commit
3d45bc532c
12 changed files with 175 additions and 163 deletions
|
@ -16,7 +16,7 @@ namespace Sledgemapper.Api.Handlers
|
|||
|
||||
public async Task Handle(DeleteOverlayNotification notification, CancellationToken cancellationToken)
|
||||
{
|
||||
await _hub.Clients.Groups(notification.SessionName).DeleteOverlay(notification.Overlay);
|
||||
await _hub.Clients.Groups(notification.Session.SessionName).DeleteOverlay(notification.Overlay);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@ namespace Sledgemapper.Api.Handlers
|
|||
|
||||
public async Task Handle(DeleteTileNotification notification, CancellationToken cancellationToken)
|
||||
{
|
||||
await _hub.Clients.Groups(notification.SessionName).DeleteTile(notification.Tile);
|
||||
await _hub.Clients.Groups(notification.Session.SessionName).DeleteTile(notification.Tile);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@ namespace Sledgemapper.Api.Handlers
|
|||
|
||||
public async Task Handle(DeleteWallNotification notification, CancellationToken cancellationToken)
|
||||
{
|
||||
await _hub.Clients.Groups(notification.SessionName).DeleteWall(notification.Wall);
|
||||
await _hub.Clients.Groups(notification.Session.SessionName).DeleteWall(notification.Wall);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@ namespace Sledgemapper.Api.Handlers
|
|||
|
||||
public async Task Handle(NewOverlayNotification notification, CancellationToken cancellationToken)
|
||||
{
|
||||
await _hub.Clients.Groups(notification.SessionName).NewOverlay(notification.Overlay);
|
||||
await _hub.Clients.Groups(notification.Session.SessionName).NewOverlay(notification.Overlay);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue