Fix invalid variable

This commit is contained in:
lowlighter
2020-10-24 00:56:43 +02:00
parent cf4c72e68a
commit c1af094b30

View File

@@ -64,7 +64,7 @@
const {token, user} = req.query
if (token) {
if (actions.flush.has(token)) {
console.debug(`metrics/app/${login} > flushed cache`)
console.debug(`metrics/app/${user} > flushed cache`)
cache.del(actions.flush.get(token))
return res.sendStatus(200)
}