From e13824fd194985afdaaf66a9d71f5a0feed911db Mon Sep 17 00:00:00 2001 From: Moustafa Mohsen Date: Sat, 22 May 2021 18:06:17 +0200 Subject: [PATCH] Typo in example code block Even though it's just an example ,It should reference the client not an undefined value --- tests/e2e/api/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/api/README.md b/tests/e2e/api/README.md index 21398557049..ad5a726645a 100644 --- a/tests/e2e/api/README.md +++ b/tests/e2e/api/README.md @@ -34,7 +34,7 @@ client = HTTPClientFactory.build( 'https://example.com' ) .create(); // You can then use the client to make API requests. -httpClient.get( '/wc/v3/products' ).then( ( response ) => { +client.get( '/wc/v3/products' ).then( ( response ) => { // Access the status code from the response. response.statusCode; // Access the headers from the response.