Skip to content

Commit

Permalink
fix: 馒头bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
linyuan0213 committed May 25, 2024
1 parent 54d5bb9 commit c2996f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/sites/site_userinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def build(self, url, site_id, site_name,
req_url = url
if 'm-team' in url:
req_url = url + '/api/member/profile'
if not site_headers.get("authorization"):
if site_headers.get("authorization"):
site_headers.pop('authorization')
res = RequestUtils(session=session,
headers=site_headers,
Expand Down

0 comments on commit c2996f8

Please sign in to comment.