Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
gary-singh-filestack committed Jan 22, 2024
1 parent 8eed310 commit 69d0ffe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,10 @@ export const getMimetype = async(file: Uint8Array | Buffer, name?: string): Prom
return mime;
}
}

console.log("name: ",name);
console.log("type: ",type);
if (!name && type) {
console.log("here: ",name);
return 'image/png';
}
try {
Expand Down

0 comments on commit 69d0ffe

Please sign in to comment.