Fix owner check

This commit is contained in:
Ludeeus
2021-11-14 16:30:29 +00:00
parent 531f5e2a97
commit fcb74ab784
+1 -1
View File
@@ -34,7 +34,7 @@ async def check():
) )
contributors = [ contributors = [
{"login": x["login"], "contributions": x["contributions"]} {"login": x["login"], "contributions": x["contributions"]}
for x in request or [] for x in request.data or []
] ]
_sorted = sorted( _sorted = sorted(
contributors, key=lambda x: x["contributions"], reverse=True contributors, key=lambda x: x["contributions"], reverse=True