We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ea1f25 commit ac664cbCopy full SHA for ac664cb
src/watcher/watcher.network.ts
@@ -24,7 +24,7 @@ export class WatcherNetwork {
24
async getWatcherHistoricalPrices(req: Request, res: Response): Promise<void> {
25
try {
26
const prices = await this.service.getWatcherHistoryPrices();
27
- res.json(prices);
+ res.json({ prices: [prices] });
28
} catch (error) {
29
this.handleErrorResponse(res, error);
30
}
0 commit comments