We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f504d06 commit 1464338Copy full SHA for 1464338
lambdas/api-handler/src/handlers/get-letters.ts
@@ -9,7 +9,7 @@ export const getLetters: APIGatewayProxyHandler = async (event) => {
9
if (event.path === '/letters') {
10
11
// default to supplier1 for now
12
- const supplierId = event.headers['nhsd-apim-apikey'] ?? "supplier1";
+ const supplierId = event.headers['nhsd-apim-apikey'];
13
14
const letterIds = await getLetterIdsForSupplier(supplierId, letterRepo);
15
0 commit comments