[server]: Bug fixes
This commit is contained in:
@ -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 = []
|
||||
|
@ -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:
|
||||
|
Reference in New Issue
Block a user