From f20160512d372b8ba4bb4f39ce5499670e37d22b Mon Sep 17 00:00:00 2001 From: Nasr Date: Fri, 12 Apr 2024 16:40:23 -0400 Subject: [PATCH] chors:subscription --- crates/torii/grpc/src/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/torii/grpc/src/client.rs b/crates/torii/grpc/src/client.rs index 16d5b11db8..8889c1636d 100644 --- a/crates/torii/grpc/src/client.rs +++ b/crates/torii/grpc/src/client.rs @@ -122,7 +122,7 @@ impl WorldClient { let hashed_keys = hashed_keys.iter().map(|hashed| hashed.to_bytes_be().to_vec()).collect(); let stream = self .inner - .subscribe_event_messages(SubscribeEventMessagesRequest { hashed_keys }) + .subscribe_event_messages(SubscribeEntitiesRequest { hashed_keys }) .await .map_err(Error::Grpc) .map(|res| res.into_inner())?;