Skip to content

Commit ac664cb

Browse files
committed
fix: getWatcherHistoricalPrices method response
1 parent 8ea1f25 commit ac664cb

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);
27+
res.json({ prices: [prices] });
2828
} catch (error) {
2929
this.handleErrorResponse(res, error);
3030
}

0 commit comments

Comments
 (0)