Parcourir la source

minor modify: function name

ming il y a 3 ans
Parent
commit
5f549bae17
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      api/routers/toolAvatarVoiceOnly.py

+ 1 - 1
api/routers/toolAvatarVoiceOnly.py

@@ -28,7 +28,7 @@ dir_anchor = ''
 tool_dest = '/var/www/html/tools/'
 
 @router.post("/get_material/", tags=["tools"])
-async def read_users(text_in: text_in):
+async def get_material(text_in: text_in):
     x = threading.Thread(target=memberOfQueue, args=(text_in.text,text_in.lang,text_in.avatar))
     x.start()
     return {'msg':'Pleas wait'}