Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix suspension check in fetchPost() #212

Merged
merged 1 commit into from Nov 27, 2019
Merged

Conversation

@thebaer
Copy link
Member

thebaer commented Nov 19, 2019

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.

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 `Announce`ing a post in the fediverse. This change
fixes that.
@thebaer thebaer added this to the 0.11.2 milestone Nov 19, 2019
@thebaer thebaer changed the base branch from develop to hotfix-0.11.2 Nov 26, 2019
@thebaer thebaer requested a review from robjloranger Nov 26, 2019
@thebaer thebaer mentioned this pull request Nov 26, 2019
Copy link
Member

robjloranger left a comment

looks good, tested locally with slug and ID

@thebaer

This comment has been minimized.

Copy link
Member Author

thebaer commented Nov 27, 2019

Thanks @robjloranger! Merging now.

@thebaer thebaer merged commit 59d892e into hotfix-0.11.2 Nov 27, 2019
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
@thebaer thebaer deleted the fix-suspension-check branch Nov 27, 2019
@thebaer thebaer mentioned this pull request Dec 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.