mirror of
https://github.com/praveentcom/openproxy.git
synced 2026-04-29 06:55:57 +02:00
2ccedc2a0e
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.