From fc34871dae1e5b5e91fc74cffd926a570e37d718 Mon Sep 17 00:00:00 2001 From: Akash K <57758277+amk-dev@users.noreply.github.com> Date: Thu, 15 Feb 2024 21:32:50 +0530 Subject: [PATCH] fix: accessing undefined property `variables` (#3831) --- .../src/components/http/OAuth2Authorization.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/hoppscotch-common/src/components/http/OAuth2Authorization.vue b/packages/hoppscotch-common/src/components/http/OAuth2Authorization.vue index b2aca464f..ee9d2f1c0 100644 --- a/packages/hoppscotch-common/src/components/http/OAuth2Authorization.vue +++ b/packages/hoppscotch-common/src/components/http/OAuth2Authorization.vue @@ -112,7 +112,7 @@ const handleAccessTokenRequest = async () => { } const envs = getCombinedEnvVariables() - const envVars = [...envs.selected.variables, ...envs.global] + const envVars = [...envs.selected, ...envs.global] try { const tokenReqParams = {