Skip to content

Commit 73fb0e0

Browse files
committed
Use globalThis without .?
1 parent 86083cd commit 73fb0e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/seam/connect/client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ export class SeamHttp {
8181
const parseOptions = (options: SeamHttpOptions): Required<SeamHttpOptions> => {
8282
const endpoint =
8383
options.endpoint ??
84-
globalThis?.process?.env?.['SEAM_ENDPOINT'] ??
85-
globalThis?.process?.env?.['SEAM_API_URL'] ??
84+
globalThis.process?.env?.['SEAM_ENDPOINT'] ??
85+
globalThis.process?.env?.['SEAM_API_URL'] ??
8686
'https://connect.getseam.com'
8787

8888
const apiKey =

0 commit comments

Comments
 (0)