Skip to content

Commit

Permalink
compx rename
Browse files Browse the repository at this point in the history
  • Loading branch information
slasher125 committed Nov 29, 2024
1 parent 8d64f03 commit 36b29d0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
const utils = require('../utils');

const poolsFunction = async () => {
return await utils.getData(
const pools = await utils.getData(
'https://api-general.compx.io/api/defillama/yield-farms'
);

return pools.map((i) => ({ ...i, project: 'compx-yield' }));
};

module.exports = {
Expand Down

0 comments on commit 36b29d0

Please sign in to comment.