From fe0f331cddd050fc08af8efe7b738a515647b378 Mon Sep 17 00:00:00 2001 From: Jan Paepke Date: Thu, 26 Sep 2024 21:45:31 +0200 Subject: [PATCH] fix async iterator example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7a669845..5a7d40c5 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,7 @@ The `page` methods do not fit every use case. If you find yourself retrieving mu ```javascript // Iterate over all payments. -for await (let payment in mollieClient.payments.iterate()) { +for await (const payment of mollieClient.payments.iterate()) { // (Use break to end the loop prematurely.) } ```