Skip to content

Commit

Permalink
🐛 fixed #3 调用接口发送拍一拍或者图片 提示报错
Browse files Browse the repository at this point in the history
  • Loading branch information
JustUndertaker committed Oct 27, 2022
1 parent f004fe5 commit fbe226e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ntchat_client/http/http_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ async def _(action: str, response: Response, params=Body(None)) -> None:
res = wechat_client.handle_http_api(http_request)
response.headers["X-self-ID"] = wechat_client.self_id
response.headers["access_token"] = wechat_client.config.access_token
logger.info(f"<m>http_api</m> - <g>调用返回:</g>{escape_tag(res.dict())}")
logger.info(f"<m>http_api</m> - <g>调用返回:</g>{escape_tag(str(res))}")

return res

0 comments on commit fbe226e

Please sign in to comment.