Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
Rename to records
Browse files Browse the repository at this point in the history
  • Loading branch information
dekz committed Jan 23, 2020
1 parent 2e104dd commit 415118a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/handlers/swap_handlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<void> {
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 });
}
}

Expand Down

0 comments on commit 415118a

Please sign in to comment.