Skip to content

Conversation

@stevenh17
Copy link
Contributor

🎟️ Ticket(s):
Closes #

πŸ‘· Changes:
A brief summary of what changes were introduced.

πŸ’­ Notes:
Any additional things to take into consideration.

Wait! Before you merge, have you checked the following:

  • Serverless tests are passing (Check travis build logs, CI is currently broken)
  • PR is has approving review(s)

let tableName;
switch (year) {
case "2021":
tableName = MEMBERSHIPS2021_TABLE;
Copy link
Member

@ddennis924 ddennis924 Oct 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rlly good work, make sure to include the environment in the table query, so when we are in PROD it shows the prod tables, look at line 51 for an example TableName: MEMBERS2024_TABLE + (process.env.ENVIRONMENT ? process.env.ENVIRONMENT : ""),

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants