Skip to content

Commit

Permalink
feat(cb2-14394): get token and call recalls
Browse files Browse the repository at this point in the history
  • Loading branch information
naathanbrown committed Nov 14, 2024
1 parent f868597 commit 9dcc6d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/recalls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const getMotRecallsByVin = async (vin: string, cache: Map<string, string
logger.debug('Calling MOT Recalls')
const motSecret = cache.get('motSecret') as MotSecret;
const bearerToken = cache.get('bearerToken') as string
const motApiUrl = `${motSecret.apiURL}/recalls/${vin}`
const motApiUrl = `${motSecret.apiURL}recalls/${vin}`

let recallResponse = await fetch(motApiUrl, {
headers: {
Expand Down

0 comments on commit 9dcc6d1

Please sign in to comment.