Skip to content

Commit 8f20caa

Browse files
U-FAREAST\ramguptU-FAREAST\ramgupt
authored andcommitted
Correct the parameter to accept array of type string
1 parent 9a086ac commit 8f20caa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GraphRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export class GraphRequest {
9494
}
9595

9696

97-
private urlJoin(urlSegments:[string]):String {
97+
private urlJoin(urlSegments:string[]):String {
9898
const tr = (s) => s.replace(/\/+$/, '');
9999
const tl = (s) => s.replace(/^\/+/, '');
100100
const joiner = (pre, cur) => [tr(pre), tl(cur)].join('/');

0 commit comments

Comments
 (0)