fix
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Timo Hocker 2022-09-09 16:02:25 +02:00
parent 6eb2009141
commit 6856ac718f
No known key found for this signature in database
GPG Key ID: 3B86485AC71C835C

View File

@ -20,7 +20,7 @@ export class RedisBlacklistStore extends Redis {
}
await this.redis.setex (
`blacklist_${key}`,
(valid_until.getTime () - Date.now ()) / 1000,
Math.floor ((valid_until.getTime () - Date.now ()) / 1000),
1
);
log ('saved key');