From 4cefaae2d36e1eeb8d941c00e5a70373aa816d16 Mon Sep 17 00:00:00 2001 From: tstephen-nhs <231503406+tstephen-nhs@users.noreply.github.com> Date: Tue, 20 Jan 2026 11:19:09 +0000 Subject: [PATCH 1/2] feat: enable delegated access proxygen style --- packages/specification/prescriptions-for-patients.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/specification/prescriptions-for-patients.yaml b/packages/specification/prescriptions-for-patients.yaml index e2b36da6d..5dcb615ac 100644 --- a/packages/specification/prescriptions-for-patients.yaml +++ b/packages/specification/prescriptions-for-patients.yaml @@ -416,6 +416,7 @@ components: x-nhsd-apim: temporary: false monitoring: true + delegatedaccess: true access: - title: User Restricted grants: From f44b9eb618843dd932a41ffe5a5c198cb93281d0 Mon Sep 17 00:00:00 2001 From: tstephen-nhs <231503406+tstephen-nhs@users.noreply.github.com> Date: Tue, 20 Jan 2026 11:21:31 +0000 Subject: [PATCH 2/2] fix: updated header name for delegate access --- packages/getMyPrescriptions/src/getMyPrescriptions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/getMyPrescriptions/src/getMyPrescriptions.ts b/packages/getMyPrescriptions/src/getMyPrescriptions.ts index be6ec23cd..24f4025a0 100644 --- a/packages/getMyPrescriptions/src/getMyPrescriptions.ts +++ b/packages/getMyPrescriptions/src/getMyPrescriptions.ts @@ -44,7 +44,7 @@ const servicesCache: ServicesCache = {} const LAMBDA_TIMEOUT_MS = 10_000 const SPINE_TIMEOUT_MS = 9_000 const SERVICE_SEARCH_TIMEOUT_MS = 5_000 -export const DELEGATED_ACCESS_HDR = "delegatedaccess" +export const DELEGATED_ACCESS_HDR = "x-nhsd-delegated-access" export const DELEGATED_ACCESS_SUB_HDR = "x-nhsd-subject-nhs-number" export type GetMyPrescriptionsEvent = {