|
|
@ -97,7 +97,7 @@ class StreamLogEventsMiddleware(Middleware):
|
|
|
|
'notes': 'notes_to_editor',
|
|
|
|
'notes': 'notes_to_editor',
|
|
|
|
'tags': 'tags',
|
|
|
|
'tags': 'tags',
|
|
|
|
'video_link': 'video_link',
|
|
|
|
'video_link': 'video_link',
|
|
|
|
'state': 'video_state',
|
|
|
|
'state': 'video_processing_state',
|
|
|
|
'error': 'video_errors',
|
|
|
|
'error': 'video_errors',
|
|
|
|
'id': 'id',
|
|
|
|
'id': 'id',
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -118,7 +118,7 @@ class StreamLogEventsMiddleware(Middleware):
|
|
|
|
}
|
|
|
|
}
|
|
|
|
# Maps DB column names to the url part you need to write to to set it.
|
|
|
|
# Maps DB column names to the url part you need to write to to set it.
|
|
|
|
self.write_map = {
|
|
|
|
self.write_map = {
|
|
|
|
"state": "video_state",
|
|
|
|
"state": "video_processing_state",
|
|
|
|
"error": "video_errors",
|
|
|
|
"error": "video_errors",
|
|
|
|
"video_link": "video",
|
|
|
|
"video_link": "video",
|
|
|
|
}
|
|
|
|
}
|
|
|
|