txlyre 1 년 전
부모
커밋
a03954c6fa
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      actions.py

+ 1 - 1
actions.py

@@ -207,7 +207,7 @@ async def get_server_ip(name):
 async def add_allowed(peer_id):
   await AllowedChat(
     peer_id=peer_id
-  ).create()
+  ).save()
 
 async def delete_allowed(peer_id):
   chat = await AllowedChat.filter(