Skip to content

Commit 6d4d77d

Browse files
committed
docs: env > envs in Environment variable doc
1 parent 4ec6c82 commit 6d4d77d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • apps/web/src/app/(docs)/docs/sandbox/environment-variables

apps/web/src/app/(docs)/docs/sandbox/environment-variables/page.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ You can set global environment variables when creating a sandbox.
3535
import { Sandbox } from '@e2b/code-interpreter'
3636

3737
const sandbox = await Sandbox.create({
38-
env: { // $HighlightLine
38+
envs: { // $HighlightLine
3939
MY_VAR: 'my_value', // $HighlightLine
4040
}, // $HighlightLine
4141
})
@@ -44,7 +44,7 @@ const sandbox = await Sandbox.create({
4444
from e2b_code_interpreter import Sandbox
4545

4646
sandbox = Sandbox(
47-
env={ # $HighlightLine
47+
envs={ # $HighlightLine
4848
'MY_VAR': 'my_value', # $HighlightLine
4949
}, # $HighlightLine
5050
)

0 commit comments

Comments
 (0)