Skip to content

Commit

Permalink
fix: request(files=files)
Browse files Browse the repository at this point in the history
  • Loading branch information
z0z0r4 committed Jul 25, 2023
1 parent 3421689 commit 073a4f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bilibili_api/dynamic.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ async def upload_image(image: Picture, credential: Credential, data: dict = None
data = {"biz": "new_dyn", "category": "daily"}

files={"file_up": raw}
return_info = await Api(**api, credential=credential).update_data(**data).update_files(**files).result
return_info = await Api(**api, credential=credential).update_data(**data).request(files=files)
return return_info


Expand Down

0 comments on commit 073a4f7

Please sign in to comment.