diff options
Diffstat (limited to 'client/src/app/shared/shared-main/account/actor.model.ts')
-rw-r--r-- | client/src/app/shared/shared-main/account/actor.model.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/shared/shared-main/account/actor.model.ts b/client/src/app/shared/shared-main/account/actor.model.ts index 670823060..1ee0c297e 100644 --- a/client/src/app/shared/shared-main/account/actor.model.ts +++ b/client/src/app/shared/shared-main/account/actor.model.ts | |||
@@ -47,11 +47,11 @@ export abstract class Actor implements ActorServer { | |||
47 | return host.trim() === thisHost | 47 | return host.trim() === thisHost |
48 | } | 48 | } |
49 | 49 | ||
50 | protected constructor (hash: ActorServer) { | 50 | protected constructor (hash: Partial<ActorServer>) { |
51 | this.id = hash.id | 51 | this.id = hash.id |
52 | this.url = hash.url | 52 | this.url = hash.url ?? '' |
53 | this.name = hash.name | 53 | this.name = hash.name ?? '' |
54 | this.host = hash.host | 54 | this.host = hash.host ?? '' |
55 | this.followingCount = hash.followingCount | 55 | this.followingCount = hash.followingCount |
56 | this.followersCount = hash.followersCount | 56 | this.followersCount = hash.followersCount |
57 | 57 | ||