Browse Source

collection api revised

CJYen 3 years ago
parent
commit
88d54de13b
1 changed files with 1 additions and 3 deletions
  1. 1 3
      main.py

+ 1 - 3
main.py

@@ -184,10 +184,8 @@ def collection(userid):
         for item in results:
             nft[i] = item
             i += 1
-        return nft
         db.close()
-
-
+        return nft
 
 # receive handler
 @app.get("/receive/{userid}")