diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-08-19 12:34:57 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-08-19 12:34:57 +0000 |
commit | e2cca45f555f3f6c0bc2bd6a671cad2bf7d12e2c (patch) | |
tree | 74d5fda5d0144ea6c7e3bfa67ec3b0d5af2e78a1 /app/src/main/java/ml/docilealligator | |
parent | 75d7cc30ae0296b1c3397a18c0d93e666ebb5ec4 (diff) | |
download | infinity-for-reddit-e2cca45f555f3f6c0bc2bd6a671cad2bf7d12e2c.tar infinity-for-reddit-e2cca45f555f3f6c0bc2bd6a671cad2bf7d12e2c.tar.gz infinity-for-reddit-e2cca45f555f3f6c0bc2bd6a671cad2bf7d12e2c.tar.bz2 infinity-for-reddit-e2cca45f555f3f6c0bc2bd6a671cad2bf7d12e2c.tar.lz infinity-for-reddit-e2cca45f555f3f6c0bc2bd6a671cad2bf7d12e2c.tar.xz infinity-for-reddit-e2cca45f555f3f6c0bc2bd6a671cad2bf7d12e2c.tar.zst infinity-for-reddit-e2cca45f555f3f6c0bc2bd6a671cad2bf7d12e2c.zip |
Fix error when adding a subreddit to a multireddit.
Diffstat (limited to 'app/src/main/java/ml/docilealligator')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/apis/RedditAPI.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/apis/RedditAPI.java b/app/src/main/java/ml/docilealligator/infinityforreddit/apis/RedditAPI.java index b7dfba9e..44a65ebb 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/apis/RedditAPI.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/apis/RedditAPI.java @@ -348,12 +348,12 @@ public interface RedditAPI { @FormUrlEncoded - @PUT("/api/multi{multipath}r/{subredditName}") + @PUT("/api/multi{multipath}/r/{subredditName}") Call<String> addSubredditToMultiReddit(@HeaderMap Map<String, String> headers, @FieldMap Map<String, String> params, @Path(value = "multipath", encoded = true) String multipath, @Path("subredditName") String subredditName); @FormUrlEncoded - @POST("/api/quarantine_optin?raw_json=1") + @POST("/api/quarantine_option?raw_json=1") Call<String> optInQuarantinedSubreddit(@HeaderMap Map<String, String> headers, @FieldMap Map<String, String> params); @GET("/api/subreddit_autocomplete_v2?typeahead_active=true&include_profiles=false&raw_json=1") |