Fixed Aziani breaking on missing source.
This commit is contained in:
parent
48015a4c95
commit
4a10887e48
|
@ -7,7 +7,7 @@ const { feetInchesToCm } = require('../utils/convert');
|
|||
const imageRegex = /-\dx.jpg/;
|
||||
|
||||
function getFallbacks(source) {
|
||||
if (source.includes('join.jpg')) {
|
||||
if (!source || source.includes('join.jpg')) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue