исправлена ошибка с Unreachable code

This commit is contained in:
Данил 2024-02-19 22:24:26 +03:00
parent 2224788c70
commit a3be7b769b

View file

@ -44,11 +44,7 @@ fastify.get('/api/getRate/', async function (req, reply) {
req['query']['periodEnd'],
]);
console.log(data)
return data['rows'];
} else {
return response('error', 204, 'There is no data for this time')
}
return data['rows'];