Skip to content

Commit

Permalink
api: fix set typo in request packages
Browse files Browse the repository at this point in the history
Reported-by: Tianling Shen <cnsztl@immortalwrt.org>
Signed-off-by: Paul Spooren <mail@aparcar.org>
  • Loading branch information
aparcar committed Apr 20, 2023
1 parent 49ae479 commit 6a995b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asu/api.py
Expand Up @@ -84,7 +84,7 @@ def validate_packages(req):
else:
tr.add(p)

req["packages"] = list(map(lambda x: remove_prefix(x, "+"), sorted(tr)))
req["packages"] = set(map(lambda x: remove_prefix(x, "+"), sorted(tr)))

# store request packages temporary in Redis and create a diff
temp = str(uuid4())
Expand Down

0 comments on commit 6a995b6

Please sign in to comment.