Improve condition
This commit is contained in:
parent
ec0c0eb810
commit
4def4b0341
@ -42,5 +42,5 @@ module.exports = function setCacheControlHeader ({
|
||||
};
|
||||
|
||||
function everyAffectedTablesCanBeInvalidated (affectedTables) {
|
||||
return affectedTables && affectedTables.getTables().every(table => !!table.updated_at);
|
||||
return affectedTables && affectedTables.getTables().every(table => table.updated_at !== null);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user