Skip to content

Commit 5c80c34

Browse files
authored
Use .fromClient(this.client)
1 parent 82ea55f commit 5c80c34

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/lib/seam/connect/client.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,10 @@ export class SeamHttp {
6363
}
6464

6565
get workspaces(): SeamHttpWorkspaces {
66-
if (this.#legacy)
67-
return new SeamHttpLegacyWorkspaces({ client: this.client })
68-
return new SeamHttpWorkspaces({ client: this.client })
66+
if (this.#legacy) {
67+
return new SeamHttpLegacyWorkspaces.fromClient(this.client)
68+
}
69+
return new SeamHttpWorkspaces.fromClient(this.client)
6970
}
7071
}
7172

0 commit comments

Comments
 (0)