diff --git a/lib/workos/user_management/organization_membership.ex b/lib/workos/user_management/organization_membership.ex index 6d59b474..f0a614a8 100644 --- a/lib/workos/user_management/organization_membership.ex +++ b/lib/workos/user_management/organization_membership.ex @@ -9,6 +9,7 @@ defmodule WorkOS.UserManagement.OrganizationMembership do id: String.t(), user_id: String.t(), organization_id: String.t(), + custom_attributes: map(), updated_at: String.t(), created_at: String.t() } @@ -24,6 +25,7 @@ defmodule WorkOS.UserManagement.OrganizationMembership do :id, :user_id, :organization_id, + :custom_attributes, :updated_at, :created_at ] @@ -34,6 +36,7 @@ defmodule WorkOS.UserManagement.OrganizationMembership do id: map["id"], user_id: map["user_id"], organization_id: map["organization_id"], + custom_attributes: map["custom_attributes"] || %{}, updated_at: map["updated_at"], created_at: map["created_at"] }