diff options
Diffstat (limited to 'client/src/app/shared/actor/actor.model.ts')
-rw-r--r-- | client/src/app/shared/actor/actor.model.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/shared/actor/actor.model.ts b/client/src/app/shared/actor/actor.model.ts index 37d84cb6e..f820dc3c4 100644 --- a/client/src/app/shared/actor/actor.model.ts +++ b/client/src/app/shared/actor/actor.model.ts | |||
@@ -10,8 +10,8 @@ export abstract class Actor implements ActorServer { | |||
10 | host: string | 10 | host: string |
11 | followingCount: number | 11 | followingCount: number |
12 | followersCount: number | 12 | followersCount: number |
13 | createdAt: Date | 13 | createdAt: Date | string |
14 | updatedAt: Date | 14 | updatedAt: Date | string |
15 | avatar: Avatar | 15 | avatar: Avatar |
16 | 16 | ||
17 | avatarUrl: string | 17 | avatarUrl: string |
@@ -41,8 +41,8 @@ export abstract class Actor implements ActorServer { | |||
41 | this.host = hash.host | 41 | this.host = hash.host |
42 | this.followingCount = hash.followingCount | 42 | this.followingCount = hash.followingCount |
43 | this.followersCount = hash.followersCount | 43 | this.followersCount = hash.followersCount |
44 | this.createdAt = new Date(hash.createdAt) | 44 | this.createdAt = new Date(hash.createdAt.toString()) |
45 | this.updatedAt = new Date(hash.updatedAt) | 45 | this.updatedAt = new Date(hash.updatedAt.toString()) |
46 | this.avatar = hash.avatar | 46 | this.avatar = hash.avatar |
47 | 47 | ||
48 | this.avatarUrl = Actor.GET_ACTOR_AVATAR_URL(this) | 48 | this.avatarUrl = Actor.GET_ACTOR_AVATAR_URL(this) |