mirror of
https://github.com/twofas/2fas-android.git
synced 2024-11-25 03:40:18 +01:00
Update notifications url
This commit is contained in:
parent
7815e3e271
commit
a80de344e8
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user