Skip to content

Commit

Permalink
Add archive status to image data JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-allan committed May 15, 2024
1 parent 8a5c47f commit 6bba355
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions omeroweb/webgateway/marshal.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ def imageMarshal(image, key=None, request=None):
"imageName": image.name or "",
"imageDescription": image.description or "",
"imageAuthor": image.getAuthor(),
"imageArchived": image.archived or False,
"projectName": pr and pr.name or "Multiple",
"projectId": pr and pr.id or None,
"projectDescription": pr and pr.description or "",
Expand Down

0 comments on commit 6bba355

Please sign in to comment.