HomeMusing Studio

Fix suspension check in fetchPost()

Description

Fix suspension check in fetchPost()

Previously, this check would return a "user not found" error when
retrieving a collection post by its post ID, e.g. /api/posts/abc123
instead of /api/collections/demo/posts/my-slug -- this happens
particularly when Announceing a post in the fediverse. This change
fixes that.

Details

Provenance
mattAuthored on Nov 19 2019, 12:59 AM
Parents
rWFbd99044e9c92: Fix 500 on tags page
Branches
Unknown
Tags
Unknown
References
refs/pull/212/head