Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

fix board share permissions

Francis Cao5e6f88f12368
diff --git a/src/app/api/share/[slug]/route.ts b/src/app/api/share/[slug]/route.ts
index f110ae936..d702669b5 100644
--- a/src/app/api/share/[slug]/route.ts
+++ b/src/app/api/share/[slug]/route.ts
@@ -68,7 +68,7 @@ export async function GET(_request: Request, { params }: { params: Promise<{ slu
data.boardId = share.entityId;
data.websiteIds = getBoardWebsiteIds({
type: board.type,
- parameters: share.parameters as BoardParameters,
+ parameters: board.parameters as BoardParameters,
});
} else if (share.shareType === ENTITY_TYPE.website) {
entity = await getWebsite(share.entityId);