CJYen 3 years ago
parent
commit
25a3ae9dc9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/api/api_v1/endpoints/joyso.py

+ 1 - 1
app/api/api_v1/endpoints/joyso.py

@@ -23,7 +23,7 @@ headers = {'Authorization': 'Basic %s' %
 @router.post("/mint")
 async def mint(userModel : models.joysoMint):
     path = "erc1155/mint"
-    txid = uuid.UUID4()
+    txid = str(uuid.uuid4())
     to = userModel.toaddress
     uid = '88888888'
     amount = userModel.amount