deleted unused hub
This commit is contained in:
@@ -5,21 +5,11 @@ namespace BeReadyBackend.Hubs;
|
||||
|
||||
public class GroupHub : Hub
|
||||
{
|
||||
public async Task SendProofToGroup(int groupId, string proofUrl)
|
||||
{
|
||||
await Clients.Group($"group-{groupId}").SendAsync("ReceiveProof", proofUrl);
|
||||
}
|
||||
|
||||
public async Task SendMessageToGroup(int groupId, string message)
|
||||
{
|
||||
await Clients.Group($"group-{groupId}").SendAsync("ReceiveMessage", message);
|
||||
}
|
||||
|
||||
public async Task StartVoteIntoGroup(int groupId)
|
||||
{
|
||||
await Clients.Group($"group-{groupId}").SendAsync("StartVote");
|
||||
}
|
||||
|
||||
public override async Task OnConnectedAsync()
|
||||
{
|
||||
HttpContext? httpContext = Context.GetHttpContext();
|
||||
|
||||
Reference in New Issue
Block a user