Skip to content

Commit

Permalink
更新
Browse files Browse the repository at this point in the history
  • Loading branch information
Samge0 committed Aug 21, 2023
1 parent 4f02d13 commit 1ea2ebb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/notionai/notionai.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def _build_headers(cls, token: str):
"accept": "application/json",
"Cookie": "; ".join(cookies),
"Content-Type": "application/json",
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"
# "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"
}

def _post(self, content: dict) -> str:
Expand Down

0 comments on commit 1ea2ebb

Please sign in to comment.