From c3d19a49070aedb0e9accedf46465196b677406e Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 12 Jun 2017 21:31:58 +0200 Subject: Fix video update test --- server/controllers/api/videos/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/controllers/api/videos') diff --git a/server/controllers/api/videos/index.ts b/server/controllers/api/videos/index.ts index 3b2ac4a6c..5e8cf2d25 100644 --- a/server/controllers/api/videos/index.ts +++ b/server/controllers/api/videos/index.ts @@ -356,7 +356,7 @@ function updateVideo (req: express.Request, res: express.Response, finalCallback return rollbackTransaction(err, t, finalCallback) } - logger.info('Video with name %s updated.', videoInfosToUpdate.name) + logger.info('Video with name %s updated.', videoInstance.name) return finalCallback(null) }) } -- cgit v1.2.3