Mike 3 vuotta sitten
vanhempi
commit
a988b55310
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      api/main.py

+ 1 - 1
api/main.py

@@ -52,7 +52,7 @@ def get_db_connection():
 async def checkCellphone(cellphone: str = '0975-516-501'):
 async def checkCellphone(cellphone: str = '0975-516-501'):
     # 手機號碼清單
     # 手機號碼清單
     cellphone_list = cellphone.split("\n")
     cellphone_list = cellphone.split("\n")
-    cellphone_list = ','.join(cellphone_list)
+    cellphone_list = "','".join(cellphone_list)
 
 
     # cellphone_list = cellphone.replace("\n", ",")
     # cellphone_list = cellphone.replace("\n", ",")
     # cellphone_list = cellphone_list
     # cellphone_list = cellphone_list