Browse Source

Fix lint errors

pull/32/merge
Luke Childs 2 years ago
parent
commit
2c48e61d38
  1. 2
      api/algorithms.js
  2. 2
      api/coins.js
  3. 2
      api/data.js

2
api/algorithms.js

@ -68,4 +68,4 @@ const getAlgorithms = () => [
]; ];
module.exports = async (request, response) => response.json(await getAlgorithms()); module.exports = async (request, response) => response.json(await getAlgorithms());
module.exports.getAlgorithms = getAlgorithms; module.exports.getAlgorithms = getAlgorithms;

2
api/coins.js

@ -31,4 +31,4 @@ const getCoinData = async () => {
}; };
module.exports = async (request, response) => response.json(await getCoinData()); module.exports = async (request, response) => response.json(await getCoinData());
module.exports.getCoinData = getCoinData; module.exports.getCoinData = getCoinData;

2
api/data.js

@ -22,4 +22,4 @@ const getData = async () => {
return data; return data;
}; };
module.exports = async (request, response) => response.json(await getData()) module.exports = async (request, response) => response.json(await getData());

Loading…
Cancel
Save