Skip to content

Fix suspension check in fetchPost()#212

Merged
thebaer merged 1 commit intohotfix-0.11.2from
fix-suspension-check
Nov 27, 2019
Merged

Fix suspension check in fetchPost()#212
thebaer merged 1 commit intohotfix-0.11.2from
fix-suspension-check

Conversation

@thebaer
Copy link
Member

@thebaer 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 November 26, 2019 16:56
@thebaer thebaer requested a review from a user November 26, 2019 16:56
@thebaer thebaer mentioned this pull request Nov 26, 2019
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, tested locally with slug and ID

@thebaer
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
@thebaer thebaer deleted the fix-suspension-check branch November 27, 2019 21:59
@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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant