message: fix typeError while creating Serverless function
diff: @@ -671,7 +671,6 @@ export const createOrUpdateResources = async (
  triggers: { image: imageChange },
  },
  git: { url: repository, type: gitType, ref },
  - pac: { repository: pacRepository },
  pipeline,
  resources,
  } = formData;
  @@ -700,6 +699,7 @@ export const createOrUpdateResources = async (
  }
  if (pipeline.type === PipelineType.PAC) {
  + const pacRepository = formData?.pac?.repository;
  const repo = await createRepositoryResources(pacRepository, namespace, dryRun);
  responses.push(repo);
  }
  