get idop in saga_retour_asynchrone from POST dictionnary (fixes #19609)
This commit is contained in:
parent
e433e148e5
commit
a139e29a0a
|
@ -151,7 +151,10 @@ def saga_retour_synchrone(request):
|
|||
@csrf_exempt
|
||||
def saga_retour_asynchrone(request):
|
||||
logger = logging.getLogger('combo_plugin_nanterre.saga_retour_asynchrone')
|
||||
idop = request.GET.get('idop')
|
||||
idop = request.POST.get('idop')
|
||||
if not idop:
|
||||
logger.error('[rsu/saga] retour-asynchrone: no idop')
|
||||
return HttpResponse('{"err": 1}', content_type='application/json')
|
||||
payload = {'idop': idop}
|
||||
err = 0
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue