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

Data Layer: Correct fromApi typo in draft post requests (take 2). #27258

Merged
merged 1 commit into from
Sep 17, 2018

Conversation

kwight
Copy link
Contributor

@kwight kwight commented Sep 17, 2018

Take two of #27221 after strange test issues on deploy led to a revert (in #27256 ).

I stumbled across this typo while looking at requestGutenbergDraftPost. Everything seems to work fine both correct and incorrect, @rodrigoi so maybe this transform isn't even needed? Or it's being compensated for somewhere else, I didn't dig very deep?.. Introduced in #27074 .

Testing

  • Switch to this branch and load http://calypso.localhost:3000/gutenberg/post/:site
  • The auto-draft should load fine (and display a title of "Auto Draft").

@matticbot
Copy link
Contributor

@kwight kwight self-assigned this Sep 17, 2018
@kwight kwight requested a review from a team September 17, 2018 20:11
@kwight kwight added [Type] Bug [Type] Task [Goal] Gutenberg Working towards full integration with Gutenberg [Feature] Post/Page Editor The editor for editing posts and pages. labels Sep 17, 2018
@kwight kwight merged commit 4a5be57 into master Sep 17, 2018
@kwight kwight deleted the fix/data-getter-typo branch September 17, 2018 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Post/Page Editor The editor for editing posts and pages. [Goal] Gutenberg Working towards full integration with Gutenberg [Type] Bug [Type] Task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants