mirror of
https://github.com/alexhopeoconnor/default.git
synced 2026-10-04 02:58:10 +10:00
Fix owner check
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user