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

Comments: Parse author dotcom ID #469

Merged
merged 4 commits into from
Nov 29, 2021
Merged

Conversation

dvdchr
Copy link
Contributor

@dvdchr dvdchr commented Nov 25, 2021

Description

This PR adds an authorID field for RemoteComment and updates CommentServiceRemoteREST to properly parse the authorID value from the API. Previously, this was not done before due to a bug where the comments endpoint would always return 0 for the author ID, regardless of role.

Testing Details

Refer to the testing steps detailed in wordpress-mobile/WordPress-iOS#17566.

  • Please check here if your pull request includes additional test coverage.

Copy link
Contributor

@frosty frosty 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! Don't forget to update the WPiOS PR with the beta pod once released :)

@dvdchr dvdchr merged commit 70a644b into develop Nov 29, 2021
@dvdchr dvdchr deleted the feature/comments-parse-author-id branch November 29, 2021 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants