Fixed error on status call when image is not available in services
This commit is contained in:
parent
4d7f774c16
commit
47335e1aa4
@ -69,7 +69,7 @@ class ImageEndpoint:
|
||||
return JsonResponse({'valid': False, 'available': True})
|
||||
|
||||
if no_image:
|
||||
JsonResponse({'valid': False, 'available': False})
|
||||
return JsonResponse({'valid': False, 'available': False})
|
||||
|
||||
return JsonResponse({'valid': True, 'available': True})
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user