Skip to content

Commit 1d02d71

Browse files
committed
fix(api): apply filter to withdrawals sums (naive)
1 parent e22f6e6 commit 1d02d71

File tree

2 files changed

+181
-310
lines changed

2 files changed

+181
-310
lines changed

backend/pkg/api/data_access/vdb_management.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@ func (d *DataAccessService) GetValidatorDashboardPublicId(ctx context.Context, p
876876
}{}
877877

878878
// Get the public validator dashboard
879-
err := d.alloyReader.GetContext(ctx, &dbReturn, `
879+
err := d.readerDb.GetContext(ctx, &dbReturn, `
880880
SELECT public_id, dashboard_id, name, shared_groups
881881
FROM users_val_dashboards_sharing
882882
WHERE public_id = $1
@@ -905,7 +905,7 @@ func (d *DataAccessService) UpdateValidatorDashboardPublicId(ctx context.Context
905905
}{}
906906

907907
// Update the name and settings of the public validator dashboard
908-
err := d.alloyWriter.GetContext(ctx, &dbReturn, `
908+
err := d.writerDb.GetContext(ctx, &dbReturn, `
909909
UPDATE users_val_dashboards_sharing SET
910910
name = $1,
911911
shared_groups = $2

0 commit comments

Comments
 (0)