removed comments in serve route handlers

This commit is contained in:
bill bittner 2018-07-30 17:02:18 -07:00
parent 76a3af4522
commit a91be45938
2 changed files with 2 additions and 6 deletions

View file

@ -36,17 +36,12 @@ const serveByClaim = (req, res) => {
({ claimName } = lbryUri.parseClaim(params.claim));
logger.debug('serve request:', { headers, ip, originalUrl, params });
getClaimIdAndServeAsset(null, null, claimName, null, originalUrl, ip, res);
// get claim id
// serve asset
getClaimIdAndServeAsset(null, null, claimName, null, originalUrl, ip, res);
sendGAServeEvent(headers, ip, originalUrl);
} catch (error) {
// check for different bubbled up error messages
// fallback
return res.status(400).json({success: false, message: error.message});
}

View file

@ -37,6 +37,7 @@ const serverByIdentifierAndClaim = (req, res) => {
}
logger.debug('serve request:', { headers, ip, originalUrl, params });
getClaimIdAndServeAsset(channelName, channelClaimId, claimName, claimId, originalUrl, ip, res);
sendGAServeEvent(headers, ip, originalUrl);