Update notifications url

This commit is contained in:
Rafał Kobyłko 2024-08-12 00:12:04 +02:00
parent 7815e3e271
commit a80de344e8

View File

@ -13,7 +13,7 @@ internal class NotificationsRemoteSource(
) {
suspend fun fetchNotifications(publishedAfter: OffsetDateTime? = null): List<NotificationJson> {
return client.get("/mobile/notifications") {
return client.get("https://notifications.2fas.com/mobile/notifications") {
parameter("platform", "android")
if (publishedAfter != null) {
parameter("published_after", publishedAfter.format(DateTimeFormatter.ISO_INSTANT))