fix allowPartialScopes flag
This commit is contained in:
parent
1e6c40eabf
commit
c582738b40
|
@ -1,7 +1,7 @@
|
||||||
export interface QueryRequestOptions {
|
export interface QueryRequestOptions {
|
||||||
$skipToken?: string;
|
$skipToken?: string;
|
||||||
$top?: number;
|
$top?: number;
|
||||||
$allowPartialScopes: boolean;
|
allowPartialScopes: boolean;
|
||||||
subscriptions?: string[];
|
subscriptions?: string[];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,7 @@ export async function fetchSubscriptionsFromGraph(accessToken: string): Promise<
|
||||||
const body = {
|
const body = {
|
||||||
query: subscriptionsQuery,
|
query: subscriptionsQuery,
|
||||||
options: {
|
options: {
|
||||||
$allowPartialScopes: true,
|
allowPartialScopes: true,
|
||||||
$top: 150,
|
$top: 150,
|
||||||
...(skipToken && {
|
...(skipToken && {
|
||||||
$skipToken: skipToken,
|
$skipToken: skipToken,
|
||||||
|
|
Loading…
Reference in New Issue