We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cd8492 commit ef34948Copy full SHA for ef34948
app/src/main/java/org/wikipedia/notifications/NotificationRepository.kt
@@ -20,7 +20,7 @@ class NotificationRepository(private val notificationDao: NotificationDao) {
20
}
21
22
suspend fun fetchUnreadWikiDbNames(): Map<String, WikiSite> {
23
- val response = ServiceFactory.get(Constants.commonsWikiSite).unreadNotificationWikis()
+ val response = ServiceFactory.get(WikipediaApp.instance.wikiSite).unreadNotificationWikis()
24
return response.query?.unreadNotificationWikis!!
25
.mapNotNull { (key, wiki) -> wiki.source?.let { key to WikiSite(it.base) } }.toMap()
26
0 commit comments