From 909a41c8c44e2dfbc9a5854284b913b49f9cc798 Mon Sep 17 00:00:00 2001 From: Chris Anderson Date: Tue, 15 Jul 2025 17:17:11 -0500 Subject: [PATCH] fix: build issue related to params --- apps/platform/src/projects/ProjectService.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/platform/src/projects/ProjectService.ts b/apps/platform/src/projects/ProjectService.ts index 8da75303..478f4a2d 100644 --- a/apps/platform/src/projects/ProjectService.ts +++ b/apps/platform/src/projects/ProjectService.ts @@ -76,10 +76,10 @@ export const createProject = async (admin: Admin, params: ProjectParams): Promis }) // Create a single subscription for each type - await createSubscription(projectId, { name: 'Default Email', channel: 'email' }) - await createSubscription(projectId, { name: 'Default SMS', channel: 'text' }) - await createSubscription(projectId, { name: 'Default Push', channel: 'push' }) - await createSubscription(projectId, { name: 'Default Webhook', channel: 'webhook' }) + await createSubscription(projectId, { name: 'Default Email', channel: 'email', is_public: true }) + await createSubscription(projectId, { name: 'Default SMS', channel: 'text', is_public: true }) + await createSubscription(projectId, { name: 'Default Push', channel: 'push', is_public: true }) + await createSubscription(projectId, { name: 'Default Webhook', channel: 'webhook', is_public: false }) const project = await getProject(projectId, admin.id) return project!