cartads_cs: pass additional parameters as strings (#36227)
This commit is contained in:
parent
f08ead5055
commit
be7f9b2f0d
|
@ -717,8 +717,8 @@ class AbstractCartaDSCS(BaseResource):
|
|||
dossier.email,
|
||||
key_value_of_stringstring(
|
||||
{
|
||||
'NotificationMailDemandeur': 0,
|
||||
'TraitementImmediat': 1,
|
||||
'NotificationMailDemandeur': '0',
|
||||
'TraitementImmediat': '1',
|
||||
'UrlNotification': dossier.notification_url,
|
||||
}))
|
||||
dossier.zip_sent = True
|
||||
|
@ -830,7 +830,7 @@ class AbstractCartaDSCS(BaseResource):
|
|||
'Token': self.get_token(),
|
||||
'InformationsComplementaires': key_value_of_stringstring(
|
||||
{'docDaact': 'doc',
|
||||
'renameFile': True
|
||||
'renameFile': 'true'
|
||||
},
|
||||
),
|
||||
})
|
||||
|
@ -864,7 +864,7 @@ class AbstractCartaDSCS(BaseResource):
|
|||
content = piece.uploaded_file.read()
|
||||
try:
|
||||
infos = {
|
||||
'renameFile': True,
|
||||
'renameFile': 'true',
|
||||
}
|
||||
if piece.id_piece == 'cerfa-daact':
|
||||
infos['docDaact'] = 'daact'
|
||||
|
|
Loading…
Reference in New Issue