nomagick commited on
Commit
65ed115
·
unverified ·
1 Parent(s): e953c01

fix: charge amount

Browse files
Files changed (1) hide show
  1. src/api/crawler.ts +2 -0
src/api/crawler.ts CHANGED
@@ -914,6 +914,8 @@ export class CrawlerHost extends RPCHost {
914
  amount += x1 * 2;
915
  }
916
  amount += x1;
 
 
917
  }
918
 
919
  if (formatted.text) {
 
914
  amount += x1 * 2;
915
  }
916
  amount += x1;
917
+ } else if (formatted.description) {
918
+ amount += estimateToken(formatted.description);
919
  }
920
 
921
  if (formatted.text) {