aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2024-05-30 18:02:49 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2024-05-30 18:02:49 +0000
commit07c9865ab2b60135604a84f0bbb9d460d7eabee7 (patch)
treef2073c1ba713b436c467db6032b5980838349ad6 /app
parent52b265bf59a4107bb977aa21a359614f70fb17be (diff)
downloadinfinity-for-reddit-07c9865ab2b60135604a84f0bbb9d460d7eabee7.tar
infinity-for-reddit-07c9865ab2b60135604a84f0bbb9d460d7eabee7.tar.gz
infinity-for-reddit-07c9865ab2b60135604a84f0bbb9d460d7eabee7.tar.bz2
infinity-for-reddit-07c9865ab2b60135604a84f0bbb9d460d7eabee7.tar.lz
infinity-for-reddit-07c9865ab2b60135604a84f0bbb9d460d7eabee7.tar.xz
infinity-for-reddit-07c9865ab2b60135604a84f0bbb9d460d7eabee7.tar.zst
infinity-for-reddit-07c9865ab2b60135604a84f0bbb9d460d7eabee7.zip
Workaround for not loading any posts (except for user submitted posts).
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/utils/APIUtils.java2
1 files changed, 1 insertions, 1 deletions
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<String, String> getOAuthHeader(String accessToken) {
Map<String, String> 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;
}