Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
garronej committed Aug 20, 2024
1 parent 32487de commit bac93be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions web/src/core/adapters/onyxiaApi/default/ApiTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ export type ApiTypes = {
};
URL?: string;
};
openshiftSCC?: {
enabled?: boolean;
};
};
data?: {
S3?: {
Expand Down
4 changes: 3 additions & 1 deletion web/src/core/adapters/onyxiaApi/default/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,9 @@ export function createOnyxiaApi(params: {
? undefined
: {
"scc": apiRegion.openshiftSCC.scc,
"enabled": apiRegion.openshiftSCC.enabled
"enabled":
apiRegion.services.openshiftSCC?.enabled ??
false
}
})
);
Expand Down

0 comments on commit bac93be

Please sign in to comment.