Skip to content

Commit 01c38c5

Browse files
TASK: Fix logging of EliD base URL
1 parent c2112ca commit 01c38c5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/services/eligibility-api/gateway/fetch-eligibility-content.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ export const fetchEligibilityContent = async (nhsNumber: NhsNumber): Promise<Eli
4545
headers = { ...headers, Authorization: `Bearer ${apimAccessToken}` };
4646
}
4747

48-
log.info({ context: { apiEndpoint, ELIGIBILITY_API_PATH_SUFFIX } }, "Fetching eligibility status");
48+
log.info(
49+
{ context: { apiEndpoint: apiEndpoint.toString(), ELIGIBILITY_API_PATH_SUFFIX } },
50+
"Fetching eligibility status",
51+
);
4952
const response: AxiosResponse<EligibilityApiResponse> = await axios
5053
.get(elidUri, {
5154
headers,

0 commit comments

Comments
 (0)