mirror of
https://github.com/Redume/Kekkai.git
synced 2025-02-23 04:33:11 +03:00
fix(server): Fixed bug, if conv_amount was not specified, it was still shown in the response
Some checks are pending
Create and publish a Docker image / build-and-push-server (push) Waiting to run
Create and publish a Docker image / build-and-push-chart (push) Waiting to run
Create and publish a Docker image / build-and-push-CR (push) Waiting to run
Deploy docs / deploy (push) Waiting to run
Some checks are pending
Create and publish a Docker image / build-and-push-server (push) Waiting to run
Create and publish a Docker image / build-and-push-chart (push) Waiting to run
Create and publish a Docker image / build-and-push-CR (push) Waiting to run
Deploy docs / deploy (push) Waiting to run
This commit is contained in:
parent
2c5a80263b
commit
e2cb35a880
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ module.exports = async function getRateRoute(fastify) {
|
|||
query['from_currency'],
|
||||
query['conv_currency'],
|
||||
query['date'],
|
||||
query['conv_amount'] ? query['conv_amount'] : 1
|
||||
query['conv_amount'] ? query['conv_amount'] : 0
|
||||
);
|
||||
else if (query['start_date'] && query['end_date'])
|
||||
rate_res = await rate.getPeriod(
|
||||
|
|
Loading…
Add table
Reference in a new issue