workos / workos-node

Official Node SDK for interacting with the WorkOS API
https://workos.com/docs/sdk/node
MIT License
120 stars 30 forks source link

Switch return type of organizations.setStripeCustomerId to the org #1158

Closed dandorman closed 1 week ago

dandorman commented 1 week ago

Description

This makes things more consistent with other function calls.

Also fixes a test.

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.

linear[bot] commented 1 week ago

AUTH-3873 Make return value of setStripeCustomerId the organization object