fix: handles normalizeThumb without thumbnail

This commit is contained in:
Sebastian Rindom
2021-02-15 14:07:39 +01:00
parent 0cc2ccd3b2
commit 93f68126bf
@@ -647,6 +647,10 @@ class SendGridService extends NotificationService {
}
normalizeThumbUrl_(url) {
if (!url) {
return null
}
if (url.startsWith("http")) {
return url
} else if (url.startsWith("//")) {