Commit def51ec8 authored by tarun2512's avatar tarun2512

fourth commit

parent 49a0eb81
MONGO_URI=mongodb://@192.168.0.217:30904/?authMechanism=DEFAULT&directConnection=true MONGO_URI=mongodb://admin:iLens%23@192.168.0.217:30904/?authMechanism=DEFAULT&directConnection=true
BASE_URI=https://qa.unifytwin.com/
LOGIN_TOKEN=dd350397643246daa19ac63c0060d430
USER_ID=user_099 USER_ID=user_099
PROJECT_ID=project_287 PROJECT_ID=project_306
APP_NAME=FT Energy Manager APP_NAME=FT Energy Manager
PREFIX=project_287 PREFIX=project_306
BASE_PATH=/code/data BASE_PATH=/code/data
MOUNT_DIR=app_zip MOUNT_DIR=app_zip
\ No newline at end of file
from dotenv import load_dotenv from dotenv import load_dotenv
import os import os
load_dotenv() load_dotenv()
from app_clone_script_copy import extract_app_zip from app_clone_script_new import extract_app_zip
from image_move_script import get_image_names, move_images from image_move_script import get_image_names, move_images
USER_ID = os.environ.get("USER_ID") USER_ID = os.environ.get("USER_ID")
......
...@@ -139,7 +139,6 @@ def fetch_hierarchy_details(project_id, node_id): ...@@ -139,7 +139,6 @@ def fetch_hierarchy_details(project_id, node_id):
json=payload, json=payload,
cookies=cookie, cookies=cookie,
headers=cookie, headers=cookie,
) )
if response.status_code == 200: if response.status_code == 200:
result = response.json() result = response.json()
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment