mirror of
https://github.com/Redume/Kekkai.git
synced 2025-02-23 12:43:12 +03:00
исправлена ошибка с Unreachable code
This commit is contained in:
parent
2224788c70
commit
a3be7b769b
1 changed files with 0 additions and 4 deletions
4
main.js
4
main.js
|
@ -44,11 +44,7 @@ fastify.get('/api/getRate/', async function (req, reply) {
|
||||||
req['query']['periodEnd'],
|
req['query']['periodEnd'],
|
||||||
]);
|
]);
|
||||||
|
|
||||||
console.log(data)
|
|
||||||
|
|
||||||
return data['rows'];
|
return data['rows'];
|
||||||
} else {
|
|
||||||
return response('error', 204, 'There is no data for this time')
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return data['rows'];
|
return data['rows'];
|
||||||
|
|
Loading…
Add table
Reference in a new issue