make rss an internal label

This commit is contained in:
Hongbo Wu
2023-07-13 10:58:37 +08:00
parent 78b40dbddc
commit 9697ae2eca

View File

@ -9,7 +9,7 @@ import { getRepository } from '../entity/utils'
import { CreateLabelInput } from '../generated/graphql'
import { generateRandomColor } from '../utils/helpers'
const INTERNAL_LABELS_IN_LOWERCASE = ['newsletters', 'favorites']
const INTERNAL_LABELS_IN_LOWERCASE = ['newsletters', 'favorites', 'rss']
const isLabelInternal = (name: string): boolean => {
return INTERNAL_LABELS_IN_LOWERCASE.includes(name.toLowerCase())