views: add repository_id to image/update payload

Give ogServer context about the proper repository to process the
correct image.
master v1.1.3-26
Alejandro Sirgo Rica 2024-07-19 13:12:53 +02:00
parent 33d4c31f46
commit c3d2582aa6
1 changed files with 1 additions and 1 deletions

View File

@ -2312,7 +2312,7 @@ def action_image_update():
'partition': partition,
'code': code,
'name': image['name'],
'repository': repository['ip'],
'repository_id': int(repository['id']),
'id': str(image['id']),
'backup': form.backup.data,
# Dummy parameters, not used by ogServer on image update.