🐛 Make send notification await
This commit is contained in:
@@ -85,7 +85,7 @@ public class PusherServiceGrpc(
|
||||
ServerCallContext context)
|
||||
{
|
||||
var account = await accountsHelper.GetAccount(Guid.Parse(request.UserId));
|
||||
pushService.SendNotification(
|
||||
await pushService.SendNotification(
|
||||
account,
|
||||
request.Notification.Topic,
|
||||
request.Notification.Title,
|
||||
@@ -141,4 +141,4 @@ public class PusherServiceGrpc(
|
||||
|
||||
return Task.FromResult(new GetWebsocketConnectionStatusResponse { IsConnected = isConnected });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user