Skip to content

Commit

Permalink
xexchange fix
Browse files Browse the repository at this point in the history
  • Loading branch information
slasher125 committed Dec 3, 2024
1 parent 24634d1 commit 7c54148
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/adaptors/xexchange/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const { request } = require('graphql-request');
const { query } = require('./query.json');
const utils = require('../utils');

const API_URL = 'https://graph.xexchange.com/graphql';

Expand Down Expand Up @@ -27,7 +28,7 @@ const apy = async () => {
};
});

return pools;
return utils.removeDuplicates(pools);
};

module.exports = {
Expand Down

0 comments on commit 7c54148

Please sign in to comment.