File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
content/docs/cloudflare-one/applications/casb/casb-integrations/microsoft-365 Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ type Props = z.infer<typeof props>;
66
77const 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}`;
1616let partial = await getEntry (" partials" , id );
1717
1818if (! 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,
Original file line number Diff line number Diff 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" ,
You can’t perform that action at this time.
0 commit comments