From 5c3465ddeb3a4ad133aaa52c50c58e96bd1ac92d Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Fri, 12 Mar 2021 11:42:45 +0100 Subject: [PATCH] modified env variable in premiere --- pype/hosts/premiere/lib.py | 2 +- pype/hosts/premiere/ppro/js/pype_restapi_client.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pype/hosts/premiere/lib.py b/pype/hosts/premiere/lib.py index 5282e2c747..410e159560 100644 --- a/pype/hosts/premiere/lib.py +++ b/pype/hosts/premiere/lib.py @@ -168,7 +168,7 @@ def clearing_caches_ui(): def test_rest_api_server(env): # from pprint import pformat - rest_url = env.get("PYPE_REST_API_URL") + rest_url = env.get("PYPE_WEBSERVER_URL") project_name = "{AVALON_PROJECT}".format(**env) URL = "/".join((rest_url, "avalon/projects", diff --git a/pype/hosts/premiere/ppro/js/pype_restapi_client.js b/pype/hosts/premiere/ppro/js/pype_restapi_client.js index b9a5ec9425..be73a2fb8c 100644 --- a/pype/hosts/premiere/ppro/js/pype_restapi_client.js +++ b/pype/hosts/premiere/ppro/js/pype_restapi_client.js @@ -14,7 +14,7 @@ class PypeRestApiClient { * @return {url string} */ _getApiServerUrl() { - var url = this.env.PYPE_REST_API_URL; + var url = this.env.PYPE_WEBSERVER_URL; return url }