From 8bc5365ce726da2ace70989d1a140069c806c1ba Mon Sep 17 00:00:00 2001 From: Jason Park Date: Wed, 18 Oct 2023 23:17:32 +0900 Subject: [PATCH] feat: getting rid of stack reference connection --- lib/stacks/business.ts | 2 +- lib/stacks/persistence.ts | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/stacks/business.ts b/lib/stacks/business.ts index 26b33c66d..656e57e00 100644 --- a/lib/stacks/business.ts +++ b/lib/stacks/business.ts @@ -59,7 +59,7 @@ export class WasedaTimeBusinessLayer extends BusinessLayer { this.dataInterface.getEndpoint(DataEndpoint.COURSE_REVIEWS), true, ) - .addService('career') + // .addService('career') .addService( 'timetable', this.dataInterface.getEndpoint(DataEndpoint.TIMETABLE), diff --git a/lib/stacks/persistence.ts b/lib/stacks/persistence.ts index f681c8faf..b59a2efac 100644 --- a/lib/stacks/persistence.ts +++ b/lib/stacks/persistence.ts @@ -62,10 +62,10 @@ export class WasedaTimePersistenceLayer extends PersistenceLayer { DataEndpoint.COURSE_REVIEWS, dynamoDatabase.tables[Collection.COURSE_REVIEW].tableName, ); - this.dataInterface.setEndpoint( - DataEndpoint.CAREER, - dynamoDatabase.tables[Collection.CAREER].tableName, - ); + // this.dataInterface.setEndpoint( + // DataEndpoint.CAREER, + // dynamoDatabase.tables[Collection.CAREER].tableName, + // ); this.exportValue(dynamoDatabase.tables[Collection.CAREER].tableName); this.exportValue(dynamoDatabase.tables[Collection.CAREER].tableArn); this.dataInterface.setEndpoint(