diff --git a/src/lib/seam/connect/client.ts b/src/lib/seam/connect/client.ts index 9dab0bef..feb7398c 100644 --- a/src/lib/seam/connect/client.ts +++ b/src/lib/seam/connect/client.ts @@ -63,9 +63,10 @@ export class SeamHttp { } get workspaces(): SeamHttpWorkspaces { - if (this.#legacy) - return new SeamHttpLegacyWorkspaces({ client: this.client }) - return new SeamHttpWorkspaces({ client: this.client }) + if (this.#legacy) { + return new SeamHttpLegacyWorkspaces.fromClient(this.client) + } + return new SeamHttpWorkspaces.fromClient(this.client) } }