From 728ddc10e121bc894cfea7f4a41352c7af330e1e Mon Sep 17 00:00:00 2001 From: Ammar Arif Date: Sat, 31 Aug 2024 23:37:41 -0400 Subject: [PATCH] mergem --- crates/dojo-world/src/manifest/mod.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/dojo-world/src/manifest/mod.rs b/crates/dojo-world/src/manifest/mod.rs index 0f2f2271d5..a1c68fcffa 100644 --- a/crates/dojo-world/src/manifest/mod.rs +++ b/crates/dojo-world/src/manifest/mod.rs @@ -554,10 +554,8 @@ async fn get_events( continuation_token = res.continuation_token; // if there are no more events or continuation token is missing, break the loop - if continuation_token.is_none() || res.events.is_empty() { + if continuation_token.is_none() { break; - } else { - events.extend(res.events); } // stop when there are no more events being returned