Skip to content

Commit

Permalink
Update data source import in AWS index.js file
Browse files Browse the repository at this point in the history
  • Loading branch information
brokoli777 committed Jul 27, 2024
1 parent fd6e9dd commit 27470e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model/data/aws/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// If the environment sets an AWS Region, we'll use AWS backend
// services (S3, DynamoDB); otherwise, we'll use an in-memory db.
module.exports = process.env.AWS_REGION ? require('./aws') : require('./memory');
module.exports = process.env.AWS_REGION ? require('./aws') : require('../memory');

logger.info(`Using ${process.env.AWS_REGION ? 'AWS' : 'in-memory'} backend for data`);

Expand Down

0 comments on commit 27470e3

Please sign in to comment.