(self, id, ag_pass)
| 23 | await self.col.insert_one(user) |
| 24 | |
| 25 | async def add_user_pass(self, id, ag_pass): |
| 26 | await self.add_user(int(id)) |
| 27 | await self.col.update_one({'id': int(id)}, {'$set': {'ag_p': ag_pass}}) |
| 28 | |
| 29 | async def get_user_pass(self, id): |
| 30 | user_pass = await self.col.find_one({'id': int(id)}) |