Skip to content

Commit 276993a

Browse files
chore: removed the unwanted comments
1 parent 15a5250 commit 276993a

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/lib/request.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { AxiosInstance } from './types';
22

33
/**
4-
* Serializes parameters to match Postman format
54
* Handles array parameters properly with & separators
65
*/
76
function serializeParams(params: any): string {
@@ -10,12 +9,10 @@ function serializeParams(params: any): string {
109
Object.keys(params).forEach(key => {
1110
const value = params[key];
1211
if (Array.isArray(value)) {
13-
// Handle array parameters like include[]
1412
value.forEach(item => {
1513
urlParams.append(key, item);
1614
});
1715
} else {
18-
// Handle all other parameter types
1916
urlParams.set(key, value);
2017
}
2118
});

0 commit comments

Comments
 (0)