Skip to content

Commit

Permalink
log added
Browse files Browse the repository at this point in the history
  • Loading branch information
gary-singh-filestack committed Feb 1, 2024
1 parent 7f22049 commit 7a26d17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ export const getMimetype = async(file: Uint8Array | Buffer, name?: string): Prom
} catch(e) {
console.warn("An exception occurred while processing the buffer:", e.message);
}
console.log("name: ", name);
if (name && name.indexOf('.') > -1) {
const mime = extensionToMime(name);

Expand Down

0 comments on commit 7a26d17

Please sign in to comment.