eslint fix

This commit is contained in:
Данил 2024-10-21 20:39:06 +03:00
parent 46661287fa
commit c9c9717d22
6 changed files with 58 additions and 40 deletions

View file

@ -6,7 +6,8 @@ module.exports = async function getRateRoute(fastify) {
if (!query['from_currency'] || !query['conv_currency']) {
return res.status(400).send({
status: 400,
message: 'The from_currency and conv_currency fields are required',
message:
'The from_currency and conv_currency fields are required',
});
}
@ -32,4 +33,4 @@ module.exports = async function getRateRoute(fastify) {
'Read more in the documentation',
});
});
}
};