mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
fix: allow max 1000 users to use notion feature
This commit is contained in:
parent
1f9b7138d8
commit
8d8c7e8a26
1 changed files with 2 additions and 1 deletions
|
|
@ -8,6 +8,7 @@ import { logger } from '../utils/logger'
|
|||
|
||||
const MAX_ULTRA_REALISTIC_USERS = 1500
|
||||
const MAX_YOUTUBE_TRANSCRIPT_USERS = 100
|
||||
const MAX_NOTION_USERS = 1000
|
||||
|
||||
export enum FeatureName {
|
||||
AISummaries = 'ai-summaries',
|
||||
|
|
@ -38,7 +39,7 @@ export const optInFeature = async (
|
|||
MAX_YOUTUBE_TRANSCRIPT_USERS
|
||||
)
|
||||
case FeatureName.Notion:
|
||||
return optInLimitedFeature(FeatureName.Notion, uid, 1)
|
||||
return optInLimitedFeature(FeatureName.Notion, uid, MAX_NOTION_USERS)
|
||||
default:
|
||||
return undefined
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue