Skip to content

Commit

Permalink
feat(cb2-10457): update cert name
Browse files Browse the repository at this point in the history
  • Loading branch information
naathanbrown committed Jan 22, 2024
1 parent e3e374f commit a4308f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handler/adrCertificate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const handler = async (event: APIGatewayProxyEvent): Promise<APIGatewayPr
const body = JSON.parse(event.body ?? '') as AdrCertificateDetailsPayload;

const generatedTimestamp = new Date().toISOString();
const certificateId = `${systemNumber}_${generatedTimestamp}_adrPass`;
const certificateId = `adr_pass_${systemNumber}_${generatedTimestamp}`; // TODO: check this?

const newAdrCertificate: ADRCertificateDetails = {
createdByName: userDetails.username,
Expand Down

0 comments on commit a4308f0

Please sign in to comment.