Skip to content

Commit ca697bc

Browse files
committed
final bits
1 parent ed9e748 commit ca697bc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/Render.astro

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ type Props = z.infer<typeof props>;
66
77
const props = z.object({
88
file: z.string(),
9-
product: z.string().optional(),
9+
product: z.string(),
1010
params: z.record(z.string(), z.any()).optional(),
1111
});
1212
@@ -16,10 +16,9 @@ const id = `${product}/${file}`;
1616
let partial = await getEntry("partials", id);
1717
1818
if (!partial) {
19-
console.warn(
19+
throw new Error(
2020
`[Render] Couldn't find "${id}" included on "${Astro.url.pathname}"`,
2121
);
22-
partial = await getEntry("partials", "agents/unique-agents");
2322
}
2423
2524
// We currently only enforce parameters if `params` is set in the frontmatter,

src/content/docs/cloudflare-one/applications/casb/casb-integrations/microsoft-365/sharepoint.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import { Render } from "~/components";
1010

1111
<Render
1212
file="casb/microsoft/integrations/sharepoint"
13+
product="cloudflare-one"
1314
params={{
1415
integrationName: "SharePoint",
1516
environmentName: "Microsoft 365 account",

0 commit comments

Comments
 (0)