Skip to content

Commit

Permalink
ci fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicamcinchak committed Mar 4, 2024
1 parent 61bae3d commit c743d43
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion api.planx.uk/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,6 @@ const dataMerged = async (
text: `${team.slug}/${slug}`,
// add extra metadata about latest published version when applicable
...(!draftDataOnly && {
flowId: id,
publishedFlowId: publishedFlows?.[0]?.id,
publishedAt: publishedFlows?.[0]?.created_at,
publishedBy: publishedFlows?.[0]?.publisher_id,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ const AlteredNodesSummaryContent = (props: {
changeSummary["deleted"] += 1;
} else if (node.type === TYPES.InternalPortal) {
if (node.data?.text?.includes("/")) {
changeSummary["portals"].push(node.data);
changeSummary["portals"].push({ ...node.data, flowId: node.id });
}
} else if (node.type) {
changeSummary["updated"] += 1;
Expand Down

0 comments on commit c743d43

Please sign in to comment.