tweaking a few things to support the new marshmallow (#522)
This commit is contained in:
@ -30,7 +30,8 @@ class NotificationOutputSchema(LemurOutputSchema):
|
||||
|
||||
@post_dump
|
||||
def fill_object(self, data):
|
||||
data['plugin']['pluginOptions'] = data['options']
|
||||
if data:
|
||||
data['plugin']['pluginOptions'] = data['options']
|
||||
return data
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user