Skip to content

Commit

Permalink
Merge pull request #20 from jiangfengming/patch-1
Browse files Browse the repository at this point in the history
Fix a mistake in README
  • Loading branch information
kornelski authored Mar 11, 2019
2 parents 55f3036 + 055fcfb commit f54e755
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 f54e755

Please sign in to comment.