changed /api stat category to 'serve' from 'publish'

This commit is contained in:
bill bittner 2017-06-30 09:52:58 -07:00
parent 6685511aa5
commit de7eef35be

View file

@ -18,7 +18,7 @@ module.exports = app => {
lbryApi
.getClaimsList(params.claim)
.then(claimsList => {
postToStats('publish', originalUrl, ip, 'success');
postToStats('serve', originalUrl, ip, 'success');
res.status(200).json(claimsList);
})
.catch(error => {
@ -35,7 +35,7 @@ module.exports = app => {
lbryApi
.resolveUri(params.uri)
.then(resolvedUri => {
postToStats('publish', originalUrl, ip, 'success');
postToStats('serve', originalUrl, ip, 'success');
res.status(200).json(resolvedUri);
})
.catch(error => {