Skip to content

Commit e3dd959

Browse files
authored
Fix for VIN API call formatting (#27)
1 parent 531c13a commit e3dd959

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/routers/gmc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ async def get_gmc_vin_detail(req: Request) -> dict:
144144
base_url=gmc_base_url, timeout_value=30.0, verify=verify_ssl
145145
) as http:
146146
params = {
147-
"vin:": req.query_params.get("vin"),
148-
"postalCode": req.query_params.get("postalCode"),
147+
"vin": req.query_params.get("vin"),
148+
"postalCode": req.query_params.get("zip"),
149149
"customerType": "GC",
150150
"requesterType": "TIER_1",
151151
"locale": "en_US",

0 commit comments

Comments
 (0)