Fix 404 for territories in profile (#1029)
This commit is contained in:
parent
ba8b37ffb9
commit
0b07962e1c
|
@ -186,6 +186,7 @@ export default {
|
|||
|
||||
const subs = await models.$queryRawUnsafe(`
|
||||
SELECT "Sub".*,
|
||||
"Sub".created_at as "createdAt",
|
||||
COALESCE(floor(sum(msats_revenue)/1000), 0) as revenue,
|
||||
COALESCE(floor(sum(msats_stacked)/1000), 0) as stacked,
|
||||
COALESCE(floor(sum(msats_spent)/1000), 0) as spent,
|
||||
|
|
Loading…
Reference in New Issue