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.
2 parents 4dd0e8f + b27eae1 commit dfe85e5Copy full SHA for dfe85e5
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