CJYen il y a 3 ans
Parent
commit
25a3ae9dc9
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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