Skip to content

Commit

Permalink
Add missing argument in is-unmodified-since check
Browse files Browse the repository at this point in the history
  • Loading branch information
johngian committed Aug 1, 2024
1 parent bd6f8c6 commit 7bd5bb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/key_value.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class KVBucket {
body: row.value
};

if (isNoCacheRequest && !mwUtil.isUnmodifiedSince(result)) {
if (isNoCacheRequest && !mwUtil.isUnmodifiedSince(req, result)) {
throw new HTTPError({
status: 412,
body: {
Expand Down

0 comments on commit 7bd5bb8

Please sign in to comment.