aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video/video-abuse.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-06-16 09:54:59 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-06-16 09:54:59 +0200
commit70c065d64c330196d371941d9294a55da6e3aa37 (patch)
tree4532a9611502135bedb1cc6009c706e31f1f9be4 /server/models/video/video-abuse.ts
parent74889a71fe687dda74f2a687653122327807af36 (diff)
downloadPeerTube-70c065d64c330196d371941d9294a55da6e3aa37.tar.gz
PeerTube-70c065d64c330196d371941d9294a55da6e3aa37.tar.zst
PeerTube-70c065d64c330196d371941d9294a55da6e3aa37.zip
Add this context to instance model functions
Diffstat (limited to 'server/models/video/video-abuse.ts')
-rw-r--r--server/models/video/video-abuse.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/video/video-abuse.ts b/server/models/video/video-abuse.ts
index e0e0bcfe6..f5b4debe6 100644
--- a/server/models/video/video-abuse.ts
+++ b/server/models/video/video-abuse.ts
@@ -66,7 +66,7 @@ export default function (sequelize: Sequelize.Sequelize, DataTypes: Sequelize.Da
66 66
67// ------------------------------ METHODS ------------------------------ 67// ------------------------------ METHODS ------------------------------
68 68
69function toFormatedJSON () { 69function toFormatedJSON (this: VideoAbuseInstance) {
70 let reporterPodHost 70 let reporterPodHost
71 71
72 if (this.Pod) { 72 if (this.Pod) {