1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-09 07:25:19 +02:00

fix sql type cast issue

This commit is contained in:
Tyler Myracle 2024-01-21 21:23:10 -06:00
parent 13bc12ba94
commit 5ddd34a5c9

View file

@ -814,7 +814,7 @@ export class InsightService implements IInsightService {
UNION ALL UNION ALL
-- investment accounts -- investment accounts
SELECT SELECT
s.asset_class AS "asset_type", s.asset_class::text AS "asset_type",
SUM(h.value) AS "amount" SUM(h.value) AS "amount"
FROM FROM
holdings_enriched h holdings_enriched h