We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 993119c commit b70486bCopy full SHA for b70486b
server/githubsrm/apis/utils.py
@@ -45,6 +45,7 @@ def verify_github_details(verify_user=False, **kwargs):
45
if verify_user:
46
response = session.get(f"{github_api}/users/{kwargs['user_id']}")
47
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.
49
if(response.status_code == 200):
50
if(res['type']=="User" ):
51
return True
0 commit comments