Skip to content

Commit 055fcfb

Browse files
Fix a mistake in README
1 parent 55f3036 commit 055fcfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ if (!oldPolicy.satisfiesWithoutRevalidation(newRequest)) {
145145
newRequest.headers = oldPolicy.revalidationHeaders(newRequest);
146146

147147
// Send request to the origin server. The server may respond with status 304
148-
const newResponse = await makeRequest(newResponse);
148+
const newResponse = await makeRequest(newRequest);
149149

150150
// Create updated policy and combined response from the old and new data
151151
const { policy, modified } = oldPolicy.revalidatedPolicy(

0 commit comments

Comments
 (0)