Skip to content

Commit b70486b

Browse files
committed
wip Comment
1 parent 993119c commit b70486b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/githubsrm/apis/utils.py

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ def verify_github_details(verify_user=False, **kwargs):
4545
if verify_user:
4646
response = session.get(f"{github_api}/users/{kwargs['user_id']}")
4747
res = response.json()
48+
# Will send False to the frontend if server is down or User ID is not a personal id but a Organisation ID.
4849
if(response.status_code == 200):
4950
if(res['type']=="User" ):
5051
return True

0 commit comments

Comments
 (0)