API Key from env #74

Merged
parabitdev merged 8 commits from parabit/add-api-key into master 2025-09-30 21:32:09 +00:00
parabitdev commented 2025-09-30 19:03:38 +00:00 (Migrated from github.com)
No description provided.
eztvdpqx5 commented 2025-09-30 19:21:18 +00:00 (Migrated from github.com)

Not sure if it matters, but only thing I see that I wasn't sure about was if you wanted to include more data after the : here or if it wasn't needed

throw new Error(`Failed to fetch user data: `);

Otherwise, LGTM

Not sure if it matters, but only thing I see that I wasn't sure about was if you wanted to include more data after the : here or if it wasn't needed ``` throw new Error(`Failed to fetch user data: `); ``` Otherwise, LGTM
parabitdev (Migrated from github.com) reviewed 2025-09-30 21:05:01 +00:00
@ -6,2 +6,3 @@
try {
const response = await fetch("https://alpha.parasite.dev/aggregator/pool/pool.status", {
const apiUrl = process.env.API_URL;
if (!apiUrl) {
parabitdev (Migrated from github.com) commented 2025-09-30 21:05:01 +00:00

Added

Added
Sign in to join this conversation.
No description provided.