fix redis always being enabled

This commit is contained in:
Francis Cao 2023-11-27 22:20:47 -08:00
parent f7dd0464e0
commit ea28511b3c

View File

@ -82,5 +82,5 @@ export default {
deleteSession,
fetchUserBlock,
incrementUserBlock,
enabled: !!redis,
enabled: !!redis.enabled,
};