Skip to content

Commit 3ec43b5

Browse files
committed
clean up
1 parent 8b8a8b4 commit 3ec43b5

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

packages/sdk/src/server/index.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,13 @@ export class BackendClient extends BaseClient {
381381
method: "GET",
382382
});
383383
}
384-
//public getProxyRequest(url: string, method: string, body: string, params: any): Promise<ProjectInfoResponse> {
385-
public makeProxyRequest(url: string, query: any, opts: MakeProxyRequestOpts): Promise<ProjectInfoResponse> {
384+
385+
/**
386+
* Makes a proxy request to a URL with the specified query parameters and options.
387+
*
388+
* @returns A promise resolving to the response from the downstream service
389+
*/
390+
public makeProxyRequest(url: string, query: any, opts: MakeProxyRequestOpts): Promise<any> {
386391
const url64 = btoa(url).replace(/\+/g, "-")
387392
.replace(/\//g, "_")
388393
.replace(/=+$/, "");

0 commit comments

Comments
 (0)