diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-04-16 14:22:27 +0200 |
---|---|---|
committer | Rigel Kent <par@rigelk.eu> | 2020-05-01 16:41:02 +0200 |
commit | 68d19a0ace01cb7a3550da420d27663e2db1b98d (patch) | |
tree | fcdac5341001b9e6d15ddd0ca8239372ec2b3053 /shared/models/videos | |
parent | 165ee2929bc76fc7f9985ae81cc33736820c7865 (diff) | |
download | PeerTube-68d19a0ace01cb7a3550da420d27663e2db1b98d.tar.gz PeerTube-68d19a0ace01cb7a3550da420d27663e2db1b98d.tar.zst PeerTube-68d19a0ace01cb7a3550da420d27663e2db1b98d.zip |
Make sure a report doesn't get deleted upon the deletion of its video
Diffstat (limited to 'shared/models/videos')
-rw-r--r-- | shared/models/videos/abuse/video-abuse.model.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/models/videos/abuse/video-abuse.model.ts b/shared/models/videos/abuse/video-abuse.model.ts index 4f668795a..b47ee05a0 100644 --- a/shared/models/videos/abuse/video-abuse.model.ts +++ b/shared/models/videos/abuse/video-abuse.model.ts | |||
@@ -14,6 +14,8 @@ export interface VideoAbuse { | |||
14 | id: number | 14 | id: number |
15 | name: string | 15 | name: string |
16 | uuid: string | 16 | uuid: string |
17 | nsfw: boolean | ||
18 | deleted: boolean | ||
17 | } | 19 | } |
18 | 20 | ||
19 | createdAt: Date | 21 | createdAt: Date |