From a80de344e8e46822c1174c5191ce1b8e1a806228 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=C2=A0Koby=C5=82ko?= Date: Mon, 12 Aug 2024 00:12:04 +0200 Subject: [PATCH] Update notifications url --- .../data/notifications/remote/NotificationsRemoteSource.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/notifications/src/main/java/com/twofasapp/data/notifications/remote/NotificationsRemoteSource.kt b/data/notifications/src/main/java/com/twofasapp/data/notifications/remote/NotificationsRemoteSource.kt index a0d32bbb..0b835d67 100644 --- a/data/notifications/src/main/java/com/twofasapp/data/notifications/remote/NotificationsRemoteSource.kt +++ b/data/notifications/src/main/java/com/twofasapp/data/notifications/remote/NotificationsRemoteSource.kt @@ -13,7 +13,7 @@ internal class NotificationsRemoteSource( ) { suspend fun fetchNotifications(publishedAfter: OffsetDateTime? = null): List { - 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))