From 5b557ed061ae0670c1317fa6bcdff2614f52d5fa Mon Sep 17 00:00:00 2001 From: Matthieu <24-artectrex@users.noreply.shinice.net> Date: Mon, 6 Dec 2021 09:56:14 +0000 Subject: [PATCH] Change discover endpoint used --- app/src/main/java/org/pixeldroid/app/utils/api/PixelfedAPI.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/org/pixeldroid/app/utils/api/PixelfedAPI.kt b/app/src/main/java/org/pixeldroid/app/utils/api/PixelfedAPI.kt index 5c9ce96b..8ccf8448 100644 --- a/app/src/main/java/org/pixeldroid/app/utils/api/PixelfedAPI.kt +++ b/app/src/main/java/org/pixeldroid/app/utils/api/PixelfedAPI.kt @@ -291,7 +291,7 @@ interface PixelfedAPI { ): Observable // get discover - @GET("/api/v2/discover/posts") + @GET("/api/v1/discover/posts") suspend fun discover() : DiscoverPosts @FormUrlEncoded @@ -304,4 +304,4 @@ interface PixelfedAPI { @Field("forward") forward: Boolean = true ) : Report -} \ No newline at end of file +}