Skip to content

Commit

Permalink
packages_versions fixup
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Spooren <[email protected]>
  • Loading branch information
aparcar committed Apr 16, 2023
1 parent 2bafbdc commit 0e7b592
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions asu/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ def validate_request(req):
400,
)

if req.get("packages_versions") and not req.get("packages"):
req["packages"] = req["packages_versions"].keys()

r = get_redis()

current_app.logger.debug("Profile before mapping " + req["profile"])
Expand Down

0 comments on commit 0e7b592

Please sign in to comment.