Skip to content

Commit

Permalink
feat(cb2-9857): remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
naathanbrown committed Jan 10, 2024
1 parent f343ce4 commit 44a6660
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/handler/get.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ const headers = {
'Access-Control-Allow-Methods': 'DELETE,GET,HEAD,OPTIONS,PATCH,POST,PUT',
};

// eslint-disable-next-line @typescript-eslint/require-await
export const handler = async (): Promise<APIGatewayProxyResult> => {
try {
logger.info('min version endpoint called');
let minVersion;

// cannot call ssm locally so this is a workaround.
if (process.env.AWS_SAM_LOCAL) {
const paramName = `${process.env.ENVIRONMENT ?? 'develop'}_vta_minimum_app_version`;
console.log(paramName);
minVersion = '1.0';
} else {
const paramName = `${process.env.ENVIRONMENT ?? 'develop'}_vta_minimum_app_version`;
Expand Down

0 comments on commit 44a6660

Please sign in to comment.