Files
openproxy/dashboard/app
Claude 2ccedc2a0e Fix SQL INTERVAL syntax bug in metrics API
Changed INTERVAL '$1 hours' to INTERVAL '1 hour' * $1 in all queries.
The previous syntax didn't properly parameterize the hours value, causing
PostgreSQL to treat $1 as a literal string instead of substituting the
actual parameter value.

This fix ensures the time range filter works correctly for all metric queries.
2025-11-23 04:21:03 +00:00
..