Skip to content

Commit

Permalink
feat: enable Pointer newsletter handler
Browse files Browse the repository at this point in the history
  • Loading branch information
nicopico-dev committed Feb 24, 2024
1 parent b5409e2 commit 9fc10d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/kotlin/fr/nicopico/n2rss/Config.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import fr.nicopico.n2rss.mail.client.JavaxEmailClient
import fr.nicopico.n2rss.mail.client.ResourceFileEmailClient
import fr.nicopico.n2rss.mail.newsletter.AndroidWeeklyNewsletterHandler
import fr.nicopico.n2rss.mail.newsletter.NewsletterHandler
import fr.nicopico.n2rss.mail.newsletter.PointerNewsletterHandler
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
import org.springframework.context.annotation.Profile
Expand Down Expand Up @@ -33,6 +34,7 @@ class Config {

@Bean
fun emailProcessors(): List<NewsletterHandler> = listOf(
AndroidWeeklyNewsletterHandler()
AndroidWeeklyNewsletterHandler(),
PointerNewsletterHandler(),
)
}

0 comments on commit 9fc10d6

Please sign in to comment.