changed /api stat category to 'serve' from 'publish'
This commit is contained in:
parent
6685511aa5
commit
de7eef35be
1 changed files with 2 additions and 2 deletions
|
@ -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 => {
|
||||
|
|
Loading…
Reference in a new issue