fix pos-difficulty data type

This commit is contained in:
jejolare 2024-10-02 22:00:33 +07:00
parent 2c83db8db6
commit f4234fcfdc

View file

@ -503,7 +503,7 @@ const requestsLimiter = rateLimit({
literal('"actual_timestamp" - ("actual_timestamp" % 3600)'),
'at',
],
[fn('avg', literal('"difficulty"::REAL')), 'd'],
[fn('avg', literal('"difficulty"::NUMERIC')), 'd'],
],
group: ['at'],
order: [[literal('"at"'), 'ASC']],