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 = {