Fix params check

This commit is contained in:
Ajay
2022-05-26 22:21:00 -04:00
parent c822a37a6e
commit 4f28d92eb8
2 changed files with 2 additions and 2 deletions

View File

@@ -124,7 +124,7 @@ async function getSegmentsByHash(req: Request, hashedVideoIDPrefix: VideoIDHash,
}
const logData = {
extraLogging: req.params.extraLogging,
extraLogging: req.query.extraLogging,
startTime: Date.now(),
lastTime: Date.now()
};

View File

@@ -311,7 +311,7 @@ export async function voteOnSponsorTime(req: Request, res: Response): Promise<Re
const ip = getIP(req);
const logData = {
extraLogging: req.params.extraLogging,
extraLogging: req.query.extraLogging,
startTime: Date.now(),
lastTime: Date.now()
};