asu: send target to ASU server
authorPaul Spooren <mail@aparcar.org>
Fri, 10 Apr 2020 07:31:54 +0000 (21:31 -1000)
committerPaul Spooren <mail@aparcar.org>
Fri, 10 Apr 2020 07:34:00 +0000 (21:34 -1000)
The updated API requires the target as the 'profiles' are not unique
(e.g. for x86 images).

Signed-off-by: Paul Spooren <mail@aparcar.org>
index.js

index 09631dc2c30d4e8a8263a0ca7e03757559bd133e..92fb99395928a7019fd03215247e1b773c44294a 100644 (file)
--- a/index.js
+++ b/index.js
@@ -61,6 +61,7 @@ function build_asa_request() {
   showStatus('<span class="tr-request-image"></span>');
 
   var request_data = {
+    'target': current_model.target,
     'profile': current_model.id,
     'packages': split($('packages').value),
     'version': $('versions').value