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

Finalize create and update users API #222

Merged
merged 2 commits into from
Dec 1, 2023

Conversation

blairworkos
Copy link
Contributor

Description

Finalizes the create and update users API methods

Documentation

Does this require changes to the WorkOS Docs? E.g. the API Reference or code snippets need updates.

[ ] Yes

If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.

@blairworkos blairworkos self-assigned this Nov 30, 2023
@blairworkos blairworkos requested a review from a team as a code owner November 30, 2023 23:07
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c76b9bd) 86.64% compared to head (313dde1) 86.58%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #222      +/-   ##
==========================================
- Coverage   86.64%   86.58%   -0.06%     
==========================================
  Files          29       29              
  Lines        1198     1193       -5     
==========================================
- Hits         1038     1033       -5     
  Misses        160      160              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

workos/user_management.py Outdated Show resolved Hide resolved
Co-authored-by: Oliver Zheng <services+github@oliverzheng.com>
USER_PATH,
method=REQUEST_METHOD_POST,
params=user,
headers=headers,
Copy link
Contributor

Choose a reason for hiding this comment

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

ooc what was this change (adding empty headers) for? or was it copy/paste?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was me moving methods around (so they are in a different order), and the diff just not dealing with that well 🙃

Copy link
Contributor

Choose a reason for hiding this comment

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

oooooh yeah i see my bad 😆

Copy link
Contributor

@amygdalama amygdalama left a comment

Choose a reason for hiding this comment

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

ty!

@blairworkos blairworkos merged commit bf0bdba into main Dec 1, 2023
6 checks passed
@blairworkos blairworkos deleted the finalize-create-update-users-api branch December 1, 2023 17:11
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.

4 participants