From 608624252466acf9f1d9ee1c1170bd4fe4d18d18 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 15 Nov 2017 11:00:25 +0100 Subject: Rename Pod -> Server --- server/controllers/api/videos/abuse.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'server/controllers/api/videos/abuse.ts') diff --git a/server/controllers/api/videos/abuse.ts b/server/controllers/api/videos/abuse.ts index 7a3471116..29f901f60 100644 --- a/server/controllers/api/videos/abuse.ts +++ b/server/controllers/api/videos/abuse.ts @@ -70,12 +70,12 @@ async function reportVideoAbuse (req: express.Request, res: express.Response) { reporterUsername, reason: body.reason, videoId: videoInstance.id, - reporterPodId: null // This is our pod that reported this abuse + reporterServerId: null // This is our server that reported this abuse } await db.sequelize.transaction(async t => { const abuse = await db.VideoAbuse.create(abuseToCreate, { transaction: t }) - // We send the information to the destination pod + // We send the information to the destination server if (videoInstance.isOwned() === false) { const reportData = { reporterUsername, @@ -84,7 +84,7 @@ async function reportVideoAbuse (req: express.Request, res: express.Response) { } // await friends.reportAbuseVideoToFriend(reportData, videoInstance, t) - // TODO: send abuse to origin pod + // TODO: send abuse to origin server } }) -- cgit v1.2.3