mappers: use new condition system
This commit is contained in:
parent
5f7b7e9658
commit
39e6417b3c
|
@ -47,7 +47,7 @@ mapping = [
|
|||
{
|
||||
'filter': archimed.rewrite_logged_box
|
||||
},
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
'path': r'/mandaye/login$',
|
||||
|
@ -56,8 +56,8 @@ mapping = [
|
|||
'auth': 'login',
|
||||
'values': {
|
||||
'associate_url': '/mandaye/associate',
|
||||
'condition': "'\"success\":true' in response.msg"
|
||||
},
|
||||
'condition': "'\"success\":true' in response.msg"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -139,7 +139,7 @@ mapping = [
|
|||
'method': 'POST',
|
||||
'response': {
|
||||
'auth': 'associate_submit',
|
||||
'condition': "'\"success\":true' in response.msg"
|
||||
'values': {'condition': "'\"success\":true' in response.msg"}
|
||||
},
|
||||
'on_reponse': [
|
||||
{
|
||||
|
|
Reference in New Issue