Skip to content

Commit

Permalink
log
Browse files Browse the repository at this point in the history
  • Loading branch information
gary-singh-filestack committed Jan 12, 2024
1 parent f64f80d commit a32d093
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 @@ -116,6 +116,7 @@ export const getMimetype = async(file: Uint8Array | Buffer, name?: string): Prom
}

try {
console.log("passed here: ",name.split('.').pop());
if (name && name.indexOf('.') > -1) {
const mime = extensionToMime(name);

Expand Down

0 comments on commit a32d093

Please sign in to comment.