From 608624252466acf9f1d9ee1c1170bd4fe4d18d18 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 15 Nov 2017 11:00:25 +0100 Subject: Rename Pod -> Server --- client/src/app/videos/shared/video.model.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'client/src/app/videos/shared/video.model.ts') diff --git a/client/src/app/videos/shared/video.model.ts b/client/src/app/videos/shared/video.model.ts index 2cad4a04e..0dd41d71b 100644 --- a/client/src/app/videos/shared/video.model.ts +++ b/client/src/app/videos/shared/video.model.ts @@ -19,7 +19,7 @@ export class Video implements VideoServerModel { uuid: string isLocal: boolean name: string - podHost: string + serverHost: string tags: string[] thumbnailPath: string thumbnailUrl: string @@ -32,8 +32,8 @@ export class Video implements VideoServerModel { dislikes: number nsfw: boolean - private static createByString (account: string, podHost: string) { - return account + '@' + podHost + private static createByString (account: string, serverHost: string) { + return account + '@' + serverHost } private static createDurationString (duration: number) { @@ -67,7 +67,7 @@ export class Video implements VideoServerModel { this.uuid = hash.uuid this.isLocal = hash.isLocal this.name = hash.name - this.podHost = hash.podHost + this.serverHost = hash.serverHost this.tags = hash.tags this.thumbnailPath = hash.thumbnailPath this.thumbnailUrl = absoluteAPIUrl + hash.thumbnailPath @@ -80,7 +80,7 @@ export class Video implements VideoServerModel { this.dislikes = hash.dislikes this.nsfw = hash.nsfw - this.by = Video.createByString(hash.account, hash.podHost) + this.by = Video.createByString(hash.account, hash.serverHost) } isVideoNSFWForUser (user: User) { -- cgit v1.2.3