mirror of
https://fast.feibisi.com/https://github.com/parcelvoy/platform.git
synced 2025-09-01 12:26:08 +08:00
fix: build issue related to params
This commit is contained in:
parent
ec165ba72e
commit
909a41c8c4
1 changed files with 4 additions and 4 deletions
|
@ -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!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue