fix: pageHelper getFileExtension missing return

This commit is contained in:
NGPixel committed 2019-10-18 20:23:37 -04:00
1 parent f8c3aef7bd
commit f4816d0628
3 files changed
+10 -9

No files matched your search

+1 -1
View File
@@ -101,7 +101,7 @@ module.exports = {
* Get file extension from content type
*/
getFileExtension(contentType) {
_.get(contentToExt, contentType, 'txt')
return _.get(contentToExt, contentType, 'txt')
},
/**
* Get content type from file extension