Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinebou12 authored Apr 25, 2024
1 parent 286ddfb commit 407f1d0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion api/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,6 @@ async def get_scale_users(self) -> List[Users]:
_LOGGER.error("Failed to fetch scale users or no scale users found in the response.")
return []

_LOGGER.error(f"{parsed}")
self.users = [Users(**user) for user in parsed["scale_users"]]
if self.users:
self.user_id = self.users[0].user_id # Update user_id only if users list is not empty
Expand Down

0 comments on commit 407f1d0

Please sign in to comment.