mirror of
https://git.mirrors.martin98.com/https://github.com/jina-ai/reader
synced 2025-04-18 11:50:00 +08:00
serp: use search expense id
This commit is contained in:
parent
b878432bec
commit
93996819cc
@ -258,7 +258,7 @@ export class SerpHost extends RPCHost {
|
||||
let chargeAmount = 0;
|
||||
rpcReflect.finally(async () => {
|
||||
if (chargeAmount) {
|
||||
auth.reportUsage(chargeAmount, `reader-serp`).catch((err) => {
|
||||
auth.reportUsage(chargeAmount, `reader-search`).catch((err) => {
|
||||
this.logger.warn(`Unable to report usage for ${uid}`, { err: marshalErrorLike(err) });
|
||||
});
|
||||
const apiRoll = await apiRollPromise;
|
||||
|
Loading…
x
Reference in New Issue
Block a user