Skip to content

Commit

Permalink
Fix failing functional tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ElenaStoeva committed Jul 13, 2023
1 parent 31e07a1 commit 0efdcb8
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ export class SpecDefinitionsService {
Object.keys(result).forEach((endpoint) => {
const description = result[endpoint];
const addEndpoint =
// If the 'availability' property doesn't exist, display the endpoint by default
!description.availability ||
(endpointsAvailability === 'stack' && description.availability?.stack) ||
(endpointsAvailability === 'serverless' && description.availability?.serverless);
if (addEndpoint) {
Expand Down

0 comments on commit 0efdcb8

Please sign in to comment.