Skip to content

Commit 7845ca9

Browse files
committed
Debugging
1 parent 614c438 commit 7845ca9

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/pull_request.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ jobs:
1818

1919
get_issue_number:
2020
runs-on: ubuntu-22.04
21-
needs: quality_checks
21+
# FIXME: Re-enable this before PR
22+
# needs: quality_checks
2223
outputs:
2324
issue_number: ${{steps.get_issue_number.outputs.result}}
2425

packages/nhsNotifyUpdateCallback/src/helpers.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ export function checkSignature(logger: Logger, event: APIGatewayProxyEvent) {
5151
return response(401, {message: "No x-api-key header given"})
5252
}
5353

54+
// FIXME: Delete this line before PR
55+
logger.info("Secret data", {APP_NAME, API_KEY})
56+
5457
// Compute the HMAC-SHA256 hash of the combination of the request body and the secret value
5558
const secretValue = `${APP_NAME}.${API_KEY}`
5659
const payload = event.body ?? ""

0 commit comments

Comments
 (0)