Skip to content

Commit

Permalink
fix: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
yuukiok committed Oct 27, 2024
1 parent dd5900c commit a2ca6be
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions packages/cdk/lambda/useCaseBuilderRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -420,17 +420,17 @@ export const updateRecentlyUsedUseCase = async (
} else {
// 更新
await dynamoDbDocument.send(
new UpdateCommand({
TableName: USECASE_TABLE_NAME,
Key: {
id: recentlyUsedUserId,
useCaseId: 'recently',
},
UpdateExpression: 'SET recentUseCaseIds = :recentUseCaseIds',
ExpressionAttributeValues: {
':recentUseCaseIds': currentUseCaseIds,
},
})
);
new UpdateCommand({
TableName: USECASE_TABLE_NAME,
Key: {
id: recentlyUsedUserId,
useCaseId: 'recently',
},
UpdateExpression: 'SET recentUseCaseIds = :recentUseCaseIds',
ExpressionAttributeValues: {
':recentUseCaseIds': currentUseCaseIds,
},
})
);
}
};
2 changes: 1 addition & 1 deletion packages/cdk/lib/construct/use-case-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export class UseCaseBuilder extends Construct {
timeout: Duration.minutes(15),
environment: {
USECASE_TABLE_NAME: useCaseBuilderTable.tableName,
USECASE_ID_INDEX_NAME: useCaseIdIndexName
USECASE_ID_INDEX_NAME: useCaseIdIndexName,
},
}
);
Expand Down

0 comments on commit a2ca6be

Please sign in to comment.