mirror of
https://github.com/alexgo-io/DefiLlama-Adapters.git
synced 2026-04-29 21:36:44 +08:00
add internal api key
This commit is contained in:
2
test.js
2
test.js
@@ -471,7 +471,7 @@ setTimeout(() => {
|
||||
|
||||
function buildPricesGetQueries(readKeys) {
|
||||
if (!readKeys.length) return []
|
||||
const burl = 'https://coins.llama.fi/prices/current/'
|
||||
const burl = process.env.INTERNAL_API_KEY ? `https://pro-api.llama.fi/${process.env.INTERNAL_API_KEY}/coins/prices/current/` : 'https://coins.llama.fi/prices/current/'
|
||||
const queries = []
|
||||
let query = burl
|
||||
|
||||
|
||||
Reference in New Issue
Block a user