diff --git a/db/model/Gdoc/rawToEnriched.ts b/db/model/Gdoc/rawToEnriched.ts index 2c78e707a14..25bfacf8eda 100644 --- a/db/model/Gdoc/rawToEnriched.ts +++ b/db/model/Gdoc/rawToEnriched.ts @@ -567,7 +567,7 @@ const parseVideo = (raw: RawBlockVideo): EnrichedBlockVideo => { parseErrors: [error], }) - const url = raw.value.url + const url = extractUrl(raw.value.url) if (!url) { return createError({ message: "url property is missing or empty",