api: update to latest image builder

This will let the code access the new endpoints to get the OSCAP
profiles and OSCAP customizations for the images.

HMS-2077
This commit is contained in:
Thomas Lavocat 2023-10-02 12:57:08 +02:00 committed by Klara Simickova
parent 67570b8e54
commit 273aa52711
5 changed files with 186 additions and 18 deletions

View file

@ -118,8 +118,10 @@ const AwsSourceName = ({ id }: AwsSourceNamePropTypes) => {
const parseGcpSharedWith = (
sharedWith: GcpUploadRequestOptions['share_with_accounts']
) => {
const splitGCPSharedWith = sharedWith[0].split(':');
return splitGCPSharedWith[1];
if (sharedWith) {
const splitGCPSharedWith = sharedWith[0].split(':');
return splitGCPSharedWith[1];
}
};
type AwsDetailsPropTypes = {

View file

@ -27,6 +27,7 @@ const Release = ({ release }: ReleaseProps) => {
'fedora-37': 'Fedora 37',
'fedora-38': 'Fedora 38',
'fedora-39': 'Fedora 39',
'fedora-40': 'Fedora 40',
};
return <p>{releaseDisplayValue[release]}</p>;