Return locked and votes in skipSegment calls

#379
This commit is contained in:
Ajay Ramachandran
2021-10-15 00:14:59 -04:00
parent 9cdccbe7f0
commit f6d6e93847
2 changed files with 8 additions and 2 deletions

View File

@@ -51,6 +51,8 @@ async function prepareCategorySegments(req: Request, videoID: VideoID, category:
actionType: chosenSegment.actionType,
segment: [chosenSegment.startTime, chosenSegment.endTime],
UUID: chosenSegment.UUID,
locked: chosenSegment.locked,
votes: chosenSegment.votes,
videoDuration: chosenSegment.videoDuration
}));
}