Skip to content

Commit

Permalink
Fix a mistake in README
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangfengming authored Mar 11, 2019
1 parent 55f3036 commit 055fcfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 055fcfb

Please sign in to comment.