We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b47cf6 commit 8dc2467Copy full SHA for 8dc2467
1 file changed
src/s3.js
@@ -38,7 +38,7 @@ const getS3Client = async (creds) => {
38
39
const getS3ObjectKey = (noteId, creds) => {
40
const path = creds.subfolder ? `${creds.subfolder.replace(/\/$/, '')}/` : '';
41
- return (noteId?.includes('images/') || noteId.includes('.html')) ? `${path}${noteId}` : `${path}${noteId}.json` ;
+ return (noteId?.includes('images/') || noteId?.includes('.html')) ? `${path}${noteId}` : `${path}${noteId}.json` ;
42
};
43
44
const uploadNoteToS3 = async (note, creds) => {
0 commit comments