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 = { 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: