mappers: use new condition system

This commit is contained in:
Jérôme Schneider 2014-07-09 19:50:52 +02:00
parent 5f7b7e9658
commit 39e6417b3c
1 changed files with 3 additions and 3 deletions

View File

@ -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': [
{