fix 5 requests
This commit is contained in:
+2
-2
@@ -22,9 +22,9 @@ def updateMedodsUsers() -> bool:
|
||||
if not response:
|
||||
logger.error("Ответ не получен")
|
||||
return False
|
||||
logger.info(response.json())
|
||||
responseData = response.json()
|
||||
usersFromDB = []
|
||||
for user in response.json():
|
||||
for user in responseData["data"]:
|
||||
if user["availabilityForOnlineRecording"] != "available":
|
||||
continue
|
||||
userDict = {
|
||||
|
||||
Reference in New Issue
Block a user