Skip to content

Commit

Permalink
Merge pull request #944 from longguikeji/feature-355
Browse files Browse the repository at this point in the history
fix: 🐛 修复github插件get_arkid_user返回值报错
  • Loading branch information
fanhe-lg authored Jun 17, 2022
2 parents a34a034 + 7c104b1 commit c26674d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension_root/com_longgui_external_idp_github/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def get_arkid_user(self, ext_id):
"""
github_user = GithubUser.valid_objects.filter(github_user_id=ext_id).first()
if github_user:
return github_user.user
return github_user.target
else:
return None

Expand Down

0 comments on commit c26674d

Please sign in to comment.