Fixed Aziani breaking on missing source.

This commit is contained in:
DebaucheryLibrarian 2023-08-04 00:12:24 +02:00
parent 48015a4c95
commit 4a10887e48
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ const { feetInchesToCm } = require('../utils/convert');
const imageRegex = /-\dx.jpg/; const imageRegex = /-\dx.jpg/;
function getFallbacks(source) { function getFallbacks(source) {
if (source.includes('join.jpg')) { if (!source || source.includes('join.jpg')) {
return null; return null;
} }