Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

See previous years' member stats #296

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from
Open

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.

2 participants