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

converted all 2023 member dbs to 2024 #271

Merged
merged 6 commits into from
Jul 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion constants/tables.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export const EVENTS_TABLE = "biztechEvents";
export const MEMBERSHIPS2021_TABLE = "biztechMemberships2021";
export const MEMBERS2022_TABLE = "biztechMembers2022";
export const MEMBERS2023_TABLE = "biztechMembers2023";
export const MEMBERS2024_TABLE = "biztechMembers2024";
export const PRIZES_TABLE = "biztechPrizes";
export const STICKERS_TABLE = "biztechStickers";
export const TRANSACTIONS_TABLE = "biztechTransactions";
Expand Down
6 changes: 3 additions & 3 deletions lib/docClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ const destinationAWSConfig = {
};

const docClient =
process.env.NODE_ENV === "development"
? new AWS.DynamoDB.DocumentClient(destinationAWSConfig)
: new AWS.DynamoDB.DocumentClient();
process.env.NODE_ENV === "development" ?
new AWS.DynamoDB.DocumentClient(destinationAWSConfig)
: new AWS.DynamoDB.DocumentClient();

export default docClient;
Loading