more sheetsync fixes

pull/401/head
Mike Lang 3 months ago
parent 1a5687204d
commit 06931db26b

@ -109,6 +109,7 @@ class StreamLogEventsMiddleware(Middleware):
'category': lambda v: v["name"], 'category': lambda v: v["name"],
'state': lambda v: v.upper() if v else None, 'state': lambda v: v.upper() if v else None,
'error': lambda v: None if v == '' else v, 'error': lambda v: None if v == '' else v,
'tags': lambda v: [tag["tag"] for tag in v],
} }
# Maps DB column names to an encode function to convert from internal format to streamlog. # Maps DB column names to an encode function to convert from internal format to streamlog.
# Omitted columns act as the identity function. # Omitted columns act as the identity function.

Loading…
Cancel
Save