소스 검색

no close db while finding the userid

CJYen 3 년 전
부모
커밋
5a27357a7d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      main.py

+ 1 - 1
main.py

@@ -237,7 +237,7 @@ async def receive(userModel : models.TransactionNft):
         return {'msg': 'user address not found'}
     else:
         userid = result['userid']
-        db.close()
+        
 
     # update nft owner
     if table3.find_one(nftid=nftid):