[UPD] update colot template and logic UI

This commit is contained in:
Madanil
2026-10-19 10:15:38 +07:00
parent a44219a8f2
commit ef5ba7f159
15 changed files with 203 additions and 116 deletions

View File

@@ -31,10 +31,10 @@ class FreshserviceClient:
_agent_cache = {}
_dept_cache = {}
def __init__(self, base_url="https://servicedesk.lyman.co.id", api_key="", use_mock=True):
def __init__(self, base_url="https://servicedesk.lyman.co.id", api_key="", use_mock=False):
self.base_url = (base_url or "").rstrip("/")
self.api_key = api_key or ""
self.use_mock = use_mock
self.use_mock = False
def get_agent_name(self, agent_id):
"""Ambil nama agen IT Freshservice berdasarkan ID (dengan in-memory cache)"""