You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
fix EXPIREAT spec
This commit is contained in:
@@ -9,7 +9,7 @@ export default {
|
||||
timestamp: number | Date,
|
||||
mode?: 'NX' | 'XX' | 'GT' | 'LT'
|
||||
) {
|
||||
const args = ['EXPIRE', key, transformEXAT(timestamp)];
|
||||
const args = ['EXPIREAT', key, transformEXAT(timestamp)];
|
||||
|
||||
if (mode) {
|
||||
args.push(mode);
|
||||
|
Reference in New Issue
Block a user