ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix transaction when processing local viewer
Chocobozzz68d6e57870dd
diff --git a/server/lib/activitypub/local-video-viewer.ts b/server/lib/activitypub/local-video-viewer.tsindex 738083adc9..bdd7467912 100644--- a/server/lib/activitypub/local-video-viewer.ts+++ b/server/lib/activitypub/local-video-viewer.ts@@ -23,7 +23,7 @@ async function createOrUpdateLocalVideoViewer (watchAction: WatchActionObject, v: null,videoId: video.id- })+ }, { transaction: t })await LocalVideoViewerWatchSectionModel.bulkCreateSections({localVideoViewerId: localVideoViewer.id,@@ -31,7 +31,9 @@ async function createOrUpdateLocalVideoViewer (watchAction: WatchActionObject, vwatchSections: watchAction.watchSections.map(s => ({start: s.startTimestamp,end: s.endTimestamp- }))+ })),++ transaction: t})}