mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-14 15:37:07 +03:00
Changed redis polyfill to not throw an error
This commit is contained in:
@@ -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);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user