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