From 055fcfb7e40dd2a553e8a9ef763bb6150615b32d Mon Sep 17 00:00:00 2001 From: Jiang Fengming Date: Mon, 11 Mar 2019 20:43:21 +0800 Subject: [PATCH] Fix a mistake in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a9d689d..03ec9e6 100644 --- a/README.md +++ b/README.md @@ -145,7 +145,7 @@ if (!oldPolicy.satisfiesWithoutRevalidation(newRequest)) { newRequest.headers = oldPolicy.revalidationHeaders(newRequest); // Send request to the origin server. The server may respond with status 304 - const newResponse = await makeRequest(newResponse); + const newResponse = await makeRequest(newRequest); // Create updated policy and combined response from the old and new data const { policy, modified } = oldPolicy.revalidatedPolicy(