mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-09-20 04:54:00 +02:00
Changed redis polyfill to not throw an error
This commit is contained in:
parent
eaaf3b8812
commit
a86dc0fc7b
1 changed files with 2 additions and 2 deletions
|
@ -9,10 +9,10 @@ if (config.redis) {
|
|||
} else {
|
||||
module.exports = {
|
||||
get: (key, callback) => {
|
||||
callback((true));
|
||||
callback(false);
|
||||
},
|
||||
set: (key, value, callback) => {
|
||||
callback((true));
|
||||
callback(false);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue