We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a26ac5f commit 4ce0b49Copy full SHA for 4ce0b49
packages/sdk/src/relay/api.ts
@@ -15,7 +15,7 @@ export async function getRequests(
15
environment: Environment,
16
): Promise<RelayRequestsResponse> {
17
const requestsPath = `/requests/v2`;
18
- const url = new URL(RELAY_API_ENDPOINTS[environment], requestsPath);
+ const url = new URL(requestsPath, RELAY_API_ENDPOINTS[environment]);
19
url.searchParams.set("user", address);
20
21
const response: RelayRequestsResponse = await fetch(url.toString()).then(
0 commit comments