fetch item prices - throttle end points with promise queue
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
import * as _ from 'lodash';
|
||||
import { FrameType } from '../model/frame-type';
|
||||
import { IItem } from '../model/item';
|
||||
|
||||
const lineBreak = '--------\n';
|
||||
|
||||
const parseItem = (item: any): string => {
|
||||
const parseItem = (item: IItem): string => {
|
||||
let name = '';
|
||||
|
||||
name += `Rarity: ${FrameType[item.frameType]}\n`;
|
||||
|
||||
Reference in New Issue
Block a user