Skip to content

Commit 219f8cb

Browse files
committed
fix: getWatcherHistoricalPrices method response |2
1 parent ac664cb commit 219f8cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/watcher/watcher.network.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class WatcherNetwork {
2424
async getWatcherHistoricalPrices(req: Request, res: Response): Promise<void> {
2525
try {
2626
const prices = await this.service.getWatcherHistoryPrices();
27-
res.json({ prices: [prices] });
27+
res.json({ prices: JSON.parse([prices]) });
2828
} catch (error) {
2929
this.handleErrorResponse(res, error);
3030
}

0 commit comments

Comments
 (0)