From 07c9865ab2b60135604a84f0bbb9d460d7eabee7 Mon Sep 17 00:00:00 2001 From: Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> Date: Thu, 30 May 2024 14:02:49 -0400 Subject: Workaround for not loading any posts (except for user submitted posts). --- .../main/java/ml/docilealligator/infinityforreddit/utils/APIUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src/main/java/ml') diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/utils/APIUtils.java b/app/src/main/java/ml/docilealligator/infinityforreddit/utils/APIUtils.java index e9d87915..4a87af1c 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/utils/APIUtils.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/utils/APIUtils.java @@ -123,7 +123,7 @@ public class APIUtils { public static Map getOAuthHeader(String accessToken) { Map params = new HashMap<>(); params.put(APIUtils.AUTHORIZATION_KEY, APIUtils.AUTHORIZATION_BASE + accessToken); - params.put(APIUtils.USER_AGENT_KEY, APIUtils.USER_AGENT); + //params.put(APIUtils.USER_AGENT_KEY, APIUtils.USER_AGENT); return params; } -- cgit v1.2.3