From 662125466d9553ec9f68281f37397bfee7fba861 Mon Sep 17 00:00:00 2001 From: Marie Salm Date: Thu, 11 Jul 2024 14:18:25 +0200 Subject: [PATCH] fix parameters in dto --- .../algorithms/nisq-analyzer/nisq-analyzer.component.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app/components/algorithms/nisq-analyzer/nisq-analyzer.component.ts b/src/app/components/algorithms/nisq-analyzer/nisq-analyzer.component.ts index 80ef40a6..12817688 100644 --- a/src/app/components/algorithms/nisq-analyzer/nisq-analyzer.component.ts +++ b/src/app/components/algorithms/nisq-analyzer/nisq-analyzer.component.ts @@ -236,10 +236,13 @@ export class NisqAnalyzerComponent implements OnInit { dialogResult.awsToken, dialogResult.awsSecretToken ); + const analyzeParams = Object.assign.apply(undefined, [ + ...dialogResult.params, + ]); this.nisqAnalyzerService .analyze({ algorithmId: this.algo.id, - parameters: dialogResult.params, + parameters: analyzeParams, tokens: tokensToDeliver, refreshToken, allowedProviders: dialogResult.vendors,