IO-998 Resolve media rename issues for non images.
This commit is contained in:
@@ -176,6 +176,7 @@ export const uploadToCloudinary = async (
|
||||
}
|
||||
};
|
||||
|
||||
//Also needs to be updated in media JS and mobile app.
|
||||
export function DetermineFileType(filetype) {
|
||||
if (!filetype) return "auto";
|
||||
else if (filetype.startsWith("image")) return "image";
|
||||
|
||||
Reference in New Issue
Block a user