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