Skip to content

Commit 36b29d0

Browse files
committed
compx rename
1 parent 8d64f03 commit 36b29d0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
const utils = require('../utils');
22

33
const poolsFunction = async () => {
4-
return await utils.getData(
4+
const pools = await utils.getData(
55
'https://api-general.compx.io/api/defillama/yield-farms'
66
);
7+
8+
return pools.map((i) => ({ ...i, project: 'compx-yield' }));
79
};
810

911
module.exports = {

0 commit comments

Comments
 (0)