Skip to content

Commit

Permalink
fix(Vehicle List): Fix vehicle endpoint (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian authored Jul 28, 2022
1 parent cbe9179 commit 353ec90
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions connectedcar/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ def vehicles(self):
"""

response = self.api.get(
const.VEHICLE_URL,
'dashboard/v1/users/vehicles?country=USA&language=EN&region=US&skipRecall=true')
return response.json()
const.USER_URL,
'users/vehicles')
return response.json()['vehicles']['$values']

def add_vehicle(self, vehicle_id):
""" POST User.add_vehicle
Expand Down

0 comments on commit 353ec90

Please sign in to comment.