Skip to content

Commit 4d4bbc3

Browse files
committed
default to None
1 parent 840a1c7 commit 4d4bbc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workos/user_management.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def delete_user(self, user_id):
201201
token=workos.api_key,
202202
)
203203

204-
def create_organization_membership(self, user_id, organization_id, role_slug):
204+
def create_organization_membership(self, user_id, organization_id, role_slug=None):
205205
"""Create a new OrganizationMembership for the given Organization and User.
206206
207207
Args:

0 commit comments

Comments
 (0)