diff options
Diffstat (limited to 'server/lib/activitypub')
-rw-r--r-- | server/lib/activitypub/videos/shared/creator.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/server/lib/activitypub/videos/shared/creator.ts b/server/lib/activitypub/videos/shared/creator.ts index ad3b88936..688bcbb53 100644 --- a/server/lib/activitypub/videos/shared/creator.ts +++ b/server/lib/activitypub/videos/shared/creator.ts | |||
@@ -64,7 +64,6 @@ export class APVideoCreator extends APVideoAbstractBuilder { | |||
64 | return { autoBlacklisted, videoCreated } | 64 | return { autoBlacklisted, videoCreated } |
65 | } catch (err) { | 65 | } catch (err) { |
66 | // FIXME: Use rollback hook when https://github.com/sequelize/sequelize/pull/13038 is released | 66 | // FIXME: Use rollback hook when https://github.com/sequelize/sequelize/pull/13038 is released |
67 | // Remove thumbnail | ||
68 | if (thumbnailModel) await thumbnailModel.removeThumbnail() | 67 | if (thumbnailModel) await thumbnailModel.removeThumbnail() |
69 | 68 | ||
70 | throw err | 69 | throw err |