Skip to content

Commit 8dc2467

Browse files
author
tung-ideapad
committed
.
1 parent 4b47cf6 commit 8dc2467

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/s3.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const getS3Client = async (creds) => {
3838

3939
const getS3ObjectKey = (noteId, creds) => {
4040
const path = creds.subfolder ? `${creds.subfolder.replace(/\/$/, '')}/` : '';
41-
return (noteId?.includes('images/') || noteId.includes('.html')) ? `${path}${noteId}` : `${path}${noteId}.json` ;
41+
return (noteId?.includes('images/') || noteId?.includes('.html')) ? `${path}${noteId}` : `${path}${noteId}.json` ;
4242
};
4343

4444
const uploadNoteToS3 = async (note, creds) => {

0 commit comments

Comments
 (0)