diff --git a/lib/file/constants.js b/lib/file/constants.js index ad39071..c4a0542 100644 --- a/lib/file/constants.js +++ b/lib/file/constants.js @@ -33,5 +33,6 @@ export const FILE_EXTENSION = Object.freeze({ XLSX: 'xlsx', DOC: 'doc', DOCX: 'docx', + ODT: 'odt', MP3: 'mp3', }); diff --git a/lib/file/getFileEncoding.js b/lib/file/getFileEncoding.js index 430347a..56d43e5 100644 --- a/lib/file/getFileEncoding.js +++ b/lib/file/getFileEncoding.js @@ -29,6 +29,7 @@ const EXTENSION_TO_ENCODING = { [FILE_EXTENSION.XLSX]: ENCODING.BINARY, [FILE_EXTENSION.DOC]: ENCODING.BINARY, [FILE_EXTENSION.DOCX]: ENCODING.BINARY, + [FILE_EXTENSION.ODT]: ENCODING.BINARY, [FILE_EXTENSION.MP3]: ENCODING.BINARY, };