HomeWrite.as

Always use /api/posts/{POST_ID} to avoid stale-post-slug logic

Description

Always use /api/posts/{POST_ID} to avoid stale-post-slug logic

If the post used to have a post slug, it follows the post until it gets a new post slug. If the post was moved, we end up with a situation where the collection/slug combination is out of sync, and so the API sends back a 404 (FIXME: the Swift package silently fails here).

Details

Provenance
angeloAuthored on Oct 16 2020, 6:01 PM
Parents
rWFSUI404d557cabdd: Call updateFromServer() after moving the post
Branches
Unknown
Tags
Unknown
References
refs/pull/99/head