mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
add notion to the features list
This commit is contained in:
parent
1c85955d7a
commit
209b08e2ff
1 changed files with 5 additions and 1 deletions
|
|
@ -13,6 +13,7 @@ export enum FeatureName {
|
|||
AISummaries = 'ai-summaries',
|
||||
YouTubeTranscripts = 'youtube-transcripts',
|
||||
UltraRealisticVoice = 'ultra-realistic-voice',
|
||||
Notion = 'notion',
|
||||
}
|
||||
|
||||
export const getFeatureName = (name: string): FeatureName | undefined => {
|
||||
|
|
@ -36,8 +37,11 @@ export const optInFeature = async (
|
|||
uid,
|
||||
MAX_YOUTUBE_TRANSCRIPT_USERS
|
||||
)
|
||||
case FeatureName.Notion:
|
||||
return optInLimitedFeature(FeatureName.Notion, uid, 1)
|
||||
default:
|
||||
return undefined
|
||||
}
|
||||
return undefined
|
||||
}
|
||||
|
||||
const optInLimitedFeature = async (
|
||||
|
|
|
|||
Loading…
Reference in a new issue