1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-28 06:48:32 +09:00
This commit is contained in:
syuilo 2021-03-18 10:55:51 +09:00
parent 0389e2c891
commit e53a40658d

View File

@ -7,7 +7,7 @@ export class Cache<T> {
this.lifetime = lifetime;
}
public set(key: string | null, value: T):void {
public set(key: string | null, value: T): void {
this.cache.set(key, {
date: Date.now(),
value