diff --git a/src/handlers/swap_handlers.ts b/src/handlers/swap_handlers.ts index 5e3739fdb7..76bc9f8ed5 100644 --- a/src/handlers/swap_handlers.ts +++ b/src/handlers/swap_handlers.ts @@ -93,8 +93,8 @@ export class SwapHandlers { } // tslint:disable-next-line:prefer-function-over-method public async getTokenPricesAsync(req: express.Request, res: express.Response): Promise { - const prices = await this._swapService.getTokenPricesAsync(req.query.sellToken || 'WETH'); - res.status(HttpStatus.OK).send({ prices }); + const records = await this._swapService.getTokenPricesAsync(req.query.sellToken || 'WETH'); + res.status(HttpStatus.OK).send({ records }); } }