diff --git a/shared/domain/rank.ts b/shared/domain/rank.ts index 25264cee6..6919d67ba 100644 --- a/shared/domain/rank.ts +++ b/shared/domain/rank.ts @@ -35,7 +35,13 @@ export class RankParam { this.ce = role.ce; } } - if(role.updatedAt) this.updatedAt = getSeconds(role.updatedAt); + if(role.updatedAt) { + if(typeof role.updatedAt == 'number') { + this.updatedAt = role.updatedAt; + } else { + this.updatedAt = getSeconds(role.updatedAt); + } + } } }