Skip to content

Commit f0f2e44

Browse files
committedSep 4, 2022
修复fastapi退出例子
1 parent dd054f1 commit f0f2e44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎fastapi_example/mgr.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ def __on_callback(self, wechat, message):
5656
requests.post(self.callback_url, json=client_message)
5757

5858
def __on_quit_callback(self, wechat):
59-
self.__on_callback(wechat, {})
59+
self.__on_callback(wechat, {"type": ntchat.MT_RECV_WECHAT_QUIT_MSG, "data": {}})

0 commit comments

Comments
 (0)
Please sign in to comment.