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 | 6 |
1 files changed, 3 insertions, 3 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 1ee0c297e..4b036341f 100644 --- a/client/src/app/shared/shared-main/account/actor.model.ts +++ b/client/src/app/shared/shared-main/account/actor.model.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import { Actor as ActorServer, ActorImage } from '@shared/models' | ||
2 | import { getAbsoluteAPIUrl } from '@app/helpers' | 1 | import { getAbsoluteAPIUrl } from '@app/helpers' |
2 | import { Actor as ServerActor, ActorImage } from '@shared/models' | ||
3 | 3 | ||
4 | export abstract class Actor implements ActorServer { | 4 | export abstract class Actor implements ServerActor { |
5 | id: number | 5 | id: number |
6 | name: string | 6 | name: string |
7 | 7 | ||
@@ -47,7 +47,7 @@ export abstract class Actor implements ActorServer { | |||
47 | return host.trim() === thisHost | 47 | return host.trim() === thisHost |
48 | } | 48 | } |
49 | 49 | ||
50 | protected constructor (hash: Partial<ActorServer>) { | 50 | protected constructor (hash: Partial<ServerActor>) { |
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 ?? '' |