diff options
Diffstat (limited to 'docs/superpowers/plans')
| -rw-r--r-- | docs/superpowers/plans/2026-10-22-mygram-droid.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/superpowers/plans/2026-10-22-mygram-droid.md b/docs/superpowers/plans/2026-10-22-mygram-droid.md index 8342c94..b0c6c02 100644 --- a/docs/superpowers/plans/2026-10-22-mygram-droid.md +++ b/docs/superpowers/plans/2026-10-22-mygram-droid.md @@ -995,8 +995,9 @@ final class Api { return Post.list(call("GET", "/likes"), Prefs.server()); } + /** /images/:id/like: older instances lack /posts/:id/like, newer ones keep this alias. */ static void setLike(int postId, boolean on) throws IOException, JSONException { - call(on ? "POST" : "DELETE", "/posts/" + postId + "/like"); + call(on ? "POST" : "DELETE", "/images/" + postId + "/like"); } /** The session cookie for url, for clients that bypass HttpURLConnection. */ |
