fix: typo in getEnvironment (#2434)

This commit is contained in:
Chun-Hao Lien
2022-06-18 10:07:32 +08:00
committed by GitHub
parent 82b6ad935a
commit 16be7c38f3
3 changed files with 5 additions and 5 deletions

View File

@@ -25,7 +25,7 @@ import { getRESTRequest, setRESTTestResults } from "~/newstore/RESTSession"
import {
environmentsStore,
getCurrentEnvironment,
getEnviroment,
getEnvironment,
getGlobalVariables,
setGlobalEnvVariables,
updateEnvironment,
@@ -97,7 +97,7 @@ export const runRESTRequest$ = (): TaskEither<
setGlobalEnvVariables(runResult.right.envs.global)
if (environmentsStore.value.currentEnvironmentIndex !== -1) {
const env = getEnviroment(
const env = getEnvironment(
environmentsStore.value.currentEnvironmentIndex
)
updateEnvironment(