Skip to content

Commit

Permalink
fix(ingester): allow url for external doc
Browse files Browse the repository at this point in the history
  • Loading branch information
lionelB committed Mar 29, 2021
1 parent 16ca17f commit 3036d35
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -208,12 +208,13 @@ function toRefs(contentRelations, getBreadcrumbs) {
({ position: positionA }, { position: positionB }) =>
positionA - positionB
)
.map(({ content: { cdtnId, document, slug, source, title } }) => ({
.map(({ content: { cdtnId, document, slug, source, title, url } }) => ({
breadcrumbs: getBreadcrumbs(cdtnId),
cdtnId,
description: document.description,
slug,
source,
title,
url,
}));
}

0 comments on commit 3036d35

Please sign in to comment.