satellite/satellitedb: fix broken query
Change-Id: I6d412a673d75264bf9751c6f15b1fb0ab94e1394
This commit is contained in:
parent
f011a5e8cc
commit
e114cfe86d
@ -23,7 +23,7 @@ func (comp *compensationDB) QueryTotalAmounts(ctx context.Context, nodeID storj.
|
||||
stmt := comp.db.Rebind(`
|
||||
SELECT
|
||||
coalesce(SUM(held), 0) AS total_held,
|
||||
coalesce(SUM(disposed), 0) AS total_disposed
|
||||
coalesce(SUM(disposed), 0) AS total_disposed,
|
||||
coalesce(SUM(paid), 0) AS total_paid,
|
||||
coalesce(SUM(distributed), 0) AS total_distributed
|
||||
FROM
|
||||
|
Loading…
Reference in New Issue
Block a user