Skip to content

Commit

Permalink
Update aapi.py
Browse files Browse the repository at this point in the history
  • Loading branch information
xiyihan0 authored Dec 24, 2023
1 parent b50e432 commit d19af6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pixivpy3/aapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ def user_follow_delete(self, user_id: int | str, req_auth: bool = True) -> Parse
return self.parse_result(r)

# 设置用户选项中是否展现AI生成作品
def user_edit_ai_show_settings(self, setting:_BOOL, req_auth: bool = True) -> ParsedJson:
def user_edit_ai_show_settings(self, setting: _BOOL, req_auth: bool = True) -> ParsedJson:
url = "%s/v1/user/ai-show-settings/edit" % self.hosts
data = {"show_ai": setting}
r = self.no_auth_requests_call("POST", url, data=data, req_auth=req_auth)
Expand Down

0 comments on commit d19af6f

Please sign in to comment.