|
|
@ -195,7 +195,7 @@ class ProcessDefinition(Base): |
|
|
|
"""Return param json base on self.param.""" |
|
|
|
"""Return param json base on self.param.""" |
|
|
|
# Handle empty dict and None value |
|
|
|
# Handle empty dict and None value |
|
|
|
if not self.param: |
|
|
|
if not self.param: |
|
|
|
return None |
|
|
|
return [] |
|
|
|
return [ |
|
|
|
return [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
"prop": k, |
|
|
|
"prop": k, |
|
|
|