Skip to content

Commit

Permalink
feat: inject-comments5 (#375)
Browse files Browse the repository at this point in the history
  • Loading branch information
LIEN-YUHSIANG authored Nov 8, 2023
1 parent aab8f7a commit 060d4ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions lib/constructs/persistence/data-pipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import {
AdsImageProcessFunctionsPipeline,
CareerDBSyncFunction,
ForumThreadAIFunctions,
ForumCommentAIFunctions,
} from '../common/lambda-functions';

export enum Worker {
Expand Down Expand Up @@ -372,9 +373,9 @@ export class ForumCommentAIDataPipeline extends AbstractDataPipeline {

const UID = process.env.UID!;

this.processor = new ForumThreadAIFunctions(
this.processor = new ForumCommentAIFunctions(
this,
'forum-thread-ai-function',
'forum-comment-ai-function',
{
envVars: {
// ['BUCKET_NAME']: this.dataSource.bucketName,
Expand Down
2 changes: 1 addition & 1 deletion lib/stacks/persistence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export class WasedaTimePersistenceLayer extends PersistenceLayer {

const forumCommentAIDataPipeline = new ForumCommentAIDataPipeline(
this,
'forum-comment-ai-data-pipeline', // Error fixed
'forum-ai-comment-data-pipeline', // Error fixed
{
// dataSource: syllabusDataPipeline.dataWarehouse,
threadWareHouse: dynamoDatabase.tables[Collection.THREAD],
Expand Down

0 comments on commit 060d4ab

Please sign in to comment.