diff options
Diffstat (limited to 'server/controllers')
-rw-r--r-- | server/controllers/api/videos/update.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/videos/update.ts b/server/controllers/api/videos/update.ts index fab1c2268..a0aa13d71 100644 --- a/server/controllers/api/videos/update.ts +++ b/server/controllers/api/videos/update.ts | |||
@@ -104,7 +104,7 @@ export async function updateVideo (req: express.Request, res: express.Response) | |||
104 | 104 | ||
105 | // Force updatedAt attribute change | 105 | // Force updatedAt attribute change |
106 | if (!video.changed()) { | 106 | if (!video.changed()) { |
107 | await video.setAsRefreshed() | 107 | await video.setAsRefreshed(t) |
108 | } | 108 | } |
109 | 109 | ||
110 | const videoInstanceUpdated = await video.save(sequelizeOptions) as MVideoFullLight | 110 | const videoInstanceUpdated = await video.save(sequelizeOptions) as MVideoFullLight |