Skip to content

Commit 3fd5719

Browse files
committed
add internal api key
1 parent 57a438e commit 3fd5719

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ setTimeout(() => {
471471

472472
function buildPricesGetQueries(readKeys) {
473473
if (!readKeys.length) return []
474-
const burl = 'https://coins.llama.fi/prices/current/'
474+
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/'
475475
const queries = []
476476
let query = burl
477477

0 commit comments

Comments
 (0)