Skip to content

Commit b9a66b4

Browse files
authored
Merge pull request #243 from microsoftgraph/abhsriva/update-count
Updated GraphRequest.ts for .count() scenario
2 parents de8a55b + 072bed1 commit b9a66b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GraphRequest.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ export class GraphRequest {
489489
* @param {boolean} isCount - The count boolean
490490
* @returns The same GraphRequest instance that is being called with
491491
*/
492-
public count(isCount: boolean): GraphRequest {
492+
public count(isCount: boolean = false): GraphRequest {
493493
this.urlComponents.oDataQueryParams.$count = isCount.toString();
494494
return this;
495495
}

0 commit comments

Comments
 (0)