[server]: Bug fixes

This commit is contained in:
2025-03-24 17:33:20 +00:00
parent 10021a9842
commit e7af6295fe
2 changed files with 1 additions and 2 deletions

View File

@ -177,7 +177,6 @@ def lambda_handler(event, context):
with ThreadPoolExecutor() as executor:
futures = [
executor.submit(fetch_trains),
executor.submit(fetch_luas),
executor.submit(fetch_buses)
]
data = []

View File

@ -97,7 +97,7 @@ def lambda_handler(event, context):
return {
'statusCode': 200,
'body': json.dumps(items_with_latest_timestamp)
'body': json.dumps(items_with_latest_timestamp, default=str)
}
except Exception as e: