Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/services/apiService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ export class ApiService {
query = Utils.addQueryParameter(query, `$filter=` + odataFilterEntries.join(" and "));
}

query = Utils.addQueryParameter(query, "skipWorkspaces=true");

const pageOfApis = await this.mapiClient.get<Page<ApiContract>>(query, [await this.mapiClient.getPortalHeader("getApis")]);

const page = new Page<Api>();
Expand Down
2 changes: 2 additions & 0 deletions src/services/productService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ export class ProductService {
query = Utils.addQueryParameter(query, `$filter=(contains(properties/displayName,'${encodeURIComponent(filter.pattern)}'))`);
}

query = Utils.addQueryParameter(query, "skipWorkspaces=true");

const page = await this.mapiClient.get<Page<ProductContract>>(query, [await this.mapiClient.getPortalHeader("getProductsPage")]);
const result = new Page<Product>();
result.count = page.count;
Expand Down