Skip to content

Commit

Permalink
fix(module-app): make userScope optional input in getManifestAsync
Browse files Browse the repository at this point in the history
  • Loading branch information
eikeland committed Nov 6, 2024
1 parent 2a28583 commit b5d0e40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/modules/app/src/app/App.ts
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ export class App<
});
}

public getManifestAsync(allow_cache = true, userScope = false): Promise<AppManifest> {
public getManifestAsync(allow_cache = true, userScope?: boolean): Promise<AppManifest> {
// when allow_cache is true, use first emitted value, otherwise use last emitted value
const operator = allow_cache ? firstValueFrom : lastValueFrom;
return operator(this.getManifest(!allow_cache, userScope));
Expand Down

0 comments on commit b5d0e40

Please sign in to comment.