Skip to content

Node.js based forum software built for the modern web

test: move cache.del to after query like other dbs

Barış Soner Uşaklı539a1f78fc34
diff --git a/src/database/postgres/hash.js b/src/database/postgres/hash.js
index 46e792ba17..b0cab1bb88 100644
--- a/src/database/postgres/hash.js
+++ b/src/database/postgres/hash.js
@@ -45,9 +45,8 @@ module.exports = function (module) {
values: [key, dataString],
});
}
+ cache.del(key);
});
-
- cache.del(key);
};
module.setObjectBulk = async function (...args) {