diff --git a/src/modules/auth/auth.repository.ts b/src/modules/auth/auth.repository.ts index d4f2996..f8ee679 100644 --- a/src/modules/auth/auth.repository.ts +++ b/src/modules/auth/auth.repository.ts @@ -10,7 +10,7 @@ export class AuthRepository { private emailVerificationTableName: string; constructor(@Inject('DYNAMODB') private dynamoDb: DynamoDBDocument) { - this.tableName = process.env.AWS_DYNAMODB_TABLE_NAME; + this.tableName = 'Dev-Metacognition-Test'; this.emailVerificationTableName = process.env.AWS_DYNAMODB_EMAIL_VERIFICATION_TABLE_NAME; } diff --git a/src/modules/test/test.repository.ts b/src/modules/test/test.repository.ts index aabfeb7..394ee51 100644 --- a/src/modules/test/test.repository.ts +++ b/src/modules/test/test.repository.ts @@ -8,7 +8,7 @@ import { DatabaseError } from 'src/core/errors/database-error'; export class TestRepository { private tableName: string; constructor(@Inject('DYNAMODB') private dynamoDb: DynamoDBDocument) { - this.tableName = process.env.AWS_DYNAMODB_TABLE_NAME; + this.tableName = 'Dev-Metacognition-Test'; } async createTest(data: any): Promise { diff --git a/src/modules/user/user.repository.ts b/src/modules/user/user.repository.ts index 30746fe..11a6e12 100644 --- a/src/modules/user/user.repository.ts +++ b/src/modules/user/user.repository.ts @@ -24,7 +24,7 @@ interface UserTest { export class UserRepository { private tableName: string; constructor(@Inject('DYNAMODB') private dynamoDb) { - this.tableName = process.env.AWS_DYNAMODB_TABLE_NAME; + this.tableName = 'Dev-Metacognition-Test'; } async findOneById(id: string): Promise {