Procházet zdrojové kódy

Deleted unnecessary method

Taichi Masuyama před 4 roky
rodič
revize
55f485033a

+ 0 - 5
packages/slackbot-proxy/src/entities/relation.ts

@@ -40,11 +40,6 @@ export class Relation {
   @CreateDateColumn()
   expiredAtCommands: Date;
 
-  isExpiredCommands():boolean {
-    const now = Date.now();
-    return this.expiredAtCommands.getTime() < now;
-  }
-
   getDistanceInMillisecondsToExpiredAt(baseDate:Date):number {
     return differenceInMilliseconds(this.expiredAtCommands, baseDate);
   }