mirror of
https://github.com/smallevilbeast/ntchat.git
synced 2025-05-23 05:38:13 +08:00
修复fastapi退出例子
This commit is contained in:
parent
dd054f1c8b
commit
f0f2e445f2
|
@ -56,4 +56,4 @@ class ClientManager(metaclass=Singleton):
|
|||
requests.post(self.callback_url, json=client_message)
|
||||
|
||||
def __on_quit_callback(self, wechat):
|
||||
self.__on_callback(wechat, {})
|
||||
self.__on_callback(wechat, {"type": ntchat.MT_RECV_WECHAT_QUIT_MSG, "data": {}})
|
||||
|
|
Loading…
Reference in New Issue
Block a user