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 wp create user #44

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Fix wp create user #44

wants to merge 3 commits into from

Conversation

afiq90
Copy link

@afiq90 afiq90 commented Jun 22, 2020

Currently, I got this error when using current implementation. This is caused by not handling createUser method request properly and the User model toJson method deserialization not matching.

Screen Shot 2020-06-23 at 12 19 09 AM

What I did :
Handled createUser by using http, handling deserialization properly and making roles paramater as optional.

tested and working as expected :
Screen Shot 2020-06-23 at 12 52 27 AM

@SachinGanesh
Copy link
Collaborator

Please resolve the conflicts

@afiq90
Copy link
Author

afiq90 commented Jun 24, 2020

Please resolve the conflicts

done

@@ -1,12 +1,12 @@
#!/bin/sh
# This is a generated file; do not edit or check into version control.
Copy link

Choose a reason for hiding this comment

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

This line states this file shouldn't be version controlled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants