diff --git a/rpc/server.go b/rpc/server.go index 9c371ec4a..432a7b651 100644 --- a/rpc/server.go +++ b/rpc/server.go @@ -109,6 +109,7 @@ func (s *Server) Send(ctx context.Context, in *proto.NotificationRequest) (*prot } go func() { + ctx := context.Background() _, err := notify.SendNotification(ctx, ¬ification, s.cfg) if err != nil { logx.LogError.Error(err)