Pre-optimization commit: Calendar sync implementation with hub design

This commit is contained in:
root
2025-10-23 08:29:46 +00:00
parent 2f9203cac2
commit 1de5bcd369
12 changed files with 506 additions and 954 deletions

View File

@@ -7,7 +7,7 @@ config = {
'path': '/advoware/proxy',
'method': 'DELETE',
'emits': [],
'flows': ['basic-tutorial', 'advoware']
'flows': ['advoware']
}
async def handler(req, context):
@@ -23,10 +23,7 @@ async def handler(req, context):
json_data = None
context.logger.info(f"Proxying request to Advoware: {method} {endpoint}")
context.logger.info(f"Query params: {params}")
result = await advoware.api_call(endpoint, method=method, params=params, json_data=json_data)
context.logger.info(f"Advoware API response received, length: {len(str(result)) if result else 0}")
context.logger.info(f"Response preview: {str(result)[:500] if result else 'None'}")
return {'status': 200, 'body': {'result': result}}
except Exception as e: