remove hash and extra segment params

This commit is contained in:
Ajay
2022-12-30 15:39:45 -05:00
parent 928eef637a
commit 66c2be6012
6 changed files with 28 additions and 12 deletions

View File

@@ -71,7 +71,6 @@ export async function getSkipSegmentsByHash(req: Request, res: Response): Promis
try {
const output = Object.entries(segments).map(([videoID, data]) => ({
videoID,
hash: data.hash,
segments: data.segments,
}));
return res.status(output.length === 0 ? 404 : 200).json(output);