We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 55f3036 + 055fcfb commit f54e755Copy full SHA for f54e755
README.md
@@ -145,7 +145,7 @@ if (!oldPolicy.satisfiesWithoutRevalidation(newRequest)) {
145
newRequest.headers = oldPolicy.revalidationHeaders(newRequest);
146
147
// Send request to the origin server. The server may respond with status 304
148
- const newResponse = await makeRequest(newResponse);
+ const newResponse = await makeRequest(newRequest);
149
150
// Create updated policy and combined response from the old and new data
151
const { policy, modified } = oldPolicy.revalidatedPolicy(
0 commit comments