Skip to content

Commit c94e365

Browse files
committed
fix(fun): imgURL type causes crash
1 parent c00dac3 commit c94e365

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/functions/configuration.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ async function checkType(type, value, contentFormat = null, allowEmbed = false)
284284
if (parseInt(value) === 0) return true;
285285
return !!parseInt(value);
286286
case 'string':
287+
case 'imgURL':
287288
case 'timezone': // Timezones can not be checked correctly for their type currently.
288289
if (allowEmbed && typeof value === 'object') return true;
289290
return typeof value === 'string';

0 commit comments

Comments
 (0)