fix allowPartialScopes flag

This commit is contained in:
Asier Isayas 2024-07-23 15:05:26 -04:00
parent 1e6c40eabf
commit c582738b40
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
export interface QueryRequestOptions {
$skipToken?: string;
$top?: number;
$allowPartialScopes: boolean;
allowPartialScopes: boolean;
subscriptions?: string[];
}

View File

@ -52,7 +52,7 @@ export async function fetchSubscriptionsFromGraph(accessToken: string): Promise<
const body = {
query: subscriptionsQuery,
options: {
$allowPartialScopes: true,
allowPartialScopes: true,
$top: 150,
...(skipToken && {
$skipToken: skipToken,