changed logs from info to debug
This commit is contained in:
parent
7886a07182
commit
e39e4841ba
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ function determineFileExtensionFromContentType (contentType) {
|
||||||
case 'video/mp4':
|
case 'video/mp4':
|
||||||
return 'mp4';
|
return 'mp4';
|
||||||
default:
|
default:
|
||||||
logger.info('setting unknown file type as file extension jpg');
|
logger.debug('setting unknown file type as file extension jpg');
|
||||||
return 'jpg';
|
return 'jpg';
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -33,7 +33,7 @@ function determineContentTypeFromFileExtension (fileExtension) {
|
||||||
case 'mp4':
|
case 'mp4':
|
||||||
return 'video/mp4';
|
return 'video/mp4';
|
||||||
default:
|
default:
|
||||||
logger.info('setting unknown file type as type image/jpg');
|
logger.debug('setting unknown file type as type image/jpg');
|
||||||
return 'image/jpg';
|
return 'image/jpg';
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue