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 b80f434 commit b27eae1Copy full SHA for b27eae1
packages/superagent-wrapper/src/request.ts
@@ -63,7 +63,7 @@ export interface SuperagentRequest<Res extends Response> extends Promise<Res> {
63
send(body: string): this;
64
}
65
66
-const substitutePathParams = (path: string, params: Record<string, string>) => {
+export const substitutePathParams = (path: string, params: Record<string, string>) => {
67
for (const key in params) {
68
if (params.hasOwnProperty(key)) {
69
path = path.replace(`{${key}}`, params[key]);
0 commit comments