Skip to content

Commit 23fc68e

Browse files
authored
Merge pull request #340 from OlivierCuyp/count-default-true
Change GraphRequest.count default value to true
2 parents eceb67e + de59819 commit 23fc68e

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
@@ -600,7 +600,7 @@ export class GraphRequest {
600600
* @param {boolean} isCount - The count boolean
601601
* @returns The same GraphRequest instance that is being called with, after adding the boolean value for the $count query option
602602
*/
603-
public count(isCount: boolean = false): GraphRequest {
603+
public count(isCount: boolean = true): GraphRequest {
604604
this.urlComponents.oDataQueryParams.$count = isCount.toString();
605605
return this;
606606
}

0 commit comments

Comments
 (0)