From 78cd90d647aee10afef48be483917e47b13f07a9 Mon Sep 17 00:00:00 2001 From: Jason Park Date: Fri, 17 Mar 2023 02:42:34 +0900 Subject: [PATCH] fix: minor changes --- lib/stacks/persistence.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/stacks/persistence.ts b/lib/stacks/persistence.ts index 5f9367704..9c31bfaf0 100644 --- a/lib/stacks/persistence.ts +++ b/lib/stacks/persistence.ts @@ -60,10 +60,12 @@ export class WasedaTimePersistenceLayer extends PersistenceLayer { DataEndpoint.SYLLABUS, syllabusDataPipeline.dataWarehouse.bucketName, ); + this.dataInterface.setEndpoint( DataEndpoint.THREAD, dynamoDatabase.tables[Collection.THREAD].tableName, ); + this.exportValue(dynamoDatabase.tables[Collection.THREAD].tableName); this.dataInterface.setEndpoint( DataEndpoint.COMMENT, dynamoDatabase.tables[Collection.COMMENT].tableName, @@ -76,7 +78,5 @@ export class WasedaTimePersistenceLayer extends PersistenceLayer { this.operationInterface.setEndpoint(OperationEndpoint.SYLLABUS, { [syllabusDataPipeline.processor.stateMachineArn]: 'scraper', }); - - this.exportValue(dynamoDatabase.tables[Collection.THREAD].tableName); } }