Fix image API for V2 images
This commit is contained in:
parent
1f0c7f9cff
commit
0e93dbb832
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ from util.cache import cache_control_flask_restful
|
|||
|
||||
|
||||
def image_view(image, image_map, include_ancestors=True):
|
||||
# TODO: Remove once we've migrated all storage data to the image records.
|
||||
# TODO: Remove this once we've migrated all storage data to the image records.
|
||||
storage_props = image
|
||||
if image.storage and image.storage.id:
|
||||
storage_props = image.storage
|
||||
|
|
Reference in a new issue