Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into feature/CB2-13886
Browse files Browse the repository at this point in the history
  • Loading branch information
naathanbrown committed Sep 25, 2024
2 parents ce35239 + 2363f80 commit 564459d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/handler/loadBatchPlate.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import {
S3Client, GetObjectCommand, CopyObjectCommand, DeleteObjectCommand,
CopyObjectCommand, DeleteObjectCommand,
GetObjectCommand,
S3Client,
} from '@aws-sdk/client-s3';
import { SQSClient, SendMessageCommand } from '@aws-sdk/client-sqs';
import { S3Event } from 'aws-lambda';
Expand Down Expand Up @@ -93,4 +95,4 @@ async function moveProcessedFile(bucket: string, key: string): Promise<void> {
Key: key,
});
await s3Client.send(deleteCommand);
}
}
1 change: 1 addition & 0 deletions src/services/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ export const inPlaceRecordUpdate = async (updatedRecord: TechRecordType<'get'>)
};

// DO NOT USE THIS UNLESS FOR SEED DATA FOR PLATES
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export const insertBatchPlateSeedData = async (putRequests: any) => {
const command = new BatchWriteItemCommand({
RequestItems: {
Expand Down

0 comments on commit 564459d

Please sign in to comment.