not sending previous state if null anymore
This commit is contained in:
@@ -112,6 +112,6 @@ state_model = api_state.model('Recorder State', {
|
||||
'previous': fields.Nested(api_state.model('Previous Recorder State', {
|
||||
'msg': fields.String(),
|
||||
'state_ok': fields.Boolean(),
|
||||
'time_stamp': fields.String()}, required=False)
|
||||
'time_stamp': fields.String()}, required=False, skip_none=True)
|
||||
)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user