diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-10 16:54:01 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-10 16:54:01 +0200 |
commit | 268eebed921ac13a9ce0f4717f4923aa24190657 (patch) | |
tree | 52f8436968c8dcc686663ef5db8dffd7ed191d34 /server/models/video/video-import.ts | |
parent | 904a463c7792837f0a468a522a28448323e48593 (diff) | |
download | PeerTube-268eebed921ac13a9ce0f4717f4923aa24190657.tar.gz PeerTube-268eebed921ac13a9ce0f4717f4923aa24190657.tar.zst PeerTube-268eebed921ac13a9ce0f4717f4923aa24190657.zip |
Add state and moderationComment for abuses on server side
Diffstat (limited to 'server/models/video/video-import.ts')
-rw-r--r-- | server/models/video/video-import.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/models/video/video-import.ts b/server/models/video/video-import.ts index b794d8324..9d1f783c7 100644 --- a/server/models/video/video-import.ts +++ b/server/models/video/video-import.ts | |||
@@ -171,6 +171,7 @@ export class VideoImportModel extends Model<VideoImportModel> { | |||
171 | video | 171 | video |
172 | } | 172 | } |
173 | } | 173 | } |
174 | |||
174 | private static getStateLabel (id: number) { | 175 | private static getStateLabel (id: number) { |
175 | return VIDEO_IMPORT_STATES[id] || 'Unknown' | 176 | return VIDEO_IMPORT_STATES[id] || 'Unknown' |
176 | } | 177 | } |