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 219f8cb commit 554d923Copy full SHA for 554d923
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: JSON.parse([prices]) });
+ res.json({ prices: [JSON.parse(prices)] });
28
} catch (error) {
29
this.handleErrorResponse(res, error);
30
}
0 commit comments