diff --git a/lib/workos/directory_sync.ex b/lib/workos/directory_sync.ex index f4c8c8d..691b49b 100644 --- a/lib/workos/directory_sync.ex +++ b/lib/workos/directory_sync.ex @@ -181,9 +181,8 @@ defmodule WorkOS.DirectorySync do def list_groups(opts \\ %{}) do WorkOS.Client.get(WorkOS.client(), WorkOS.List.of(Group), "/directory_groups", query: [ - domain: opts[:domain], - organization_id: opts[:organization_id], - search: opts[:search], + directory: opts[:directory], + user: opts[:user], limit: opts[:limit], before: opts[:before], after: opts[:after],