Skip to content

Commit

Permalink
precise log
Browse files Browse the repository at this point in the history
  • Loading branch information
gary-singh-filestack committed Feb 1, 2024
1 parent 7a26d17 commit 2b40fc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +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);
console.log("name: ", name.indexOf('.'));
if (name && name.indexOf('.') > -1) {
const mime = extensionToMime(name);

Expand Down

0 comments on commit 2b40fc2

Please sign in to comment.