Commit 28508d8df095369af02b21081d34e2099a8dd88f
1 parent
780432ab
Exists in
master
and in
1 other branch
[Fix] Corrigindo escape de caracter.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
controlador_ws.php
... | ... | @@ -107,7 +107,7 @@ $app->group('/api/v1',function(){ |
107 | 107 | $contextoDTO = new ContextoDTO(); |
108 | 108 | $usuarioDTO->setStrSigla($request->getParam('usuario')); |
109 | 109 | $usuarioDTO->setStrSenha($request->getParam('senha')); |
110 | - $contextoDTO->setNumIdContexto($request->getParam('z')); | |
110 | + $contextoDTO->setNumIdContexto($request->getParam('contexto')); | |
111 | 111 | $contextoDTO->setNumIdOrgao($request->getParam('orgao')); |
112 | 112 | |
113 | 113 | return $response->withJSON($rn->apiAutenticar($usuarioDTO, $contextoDTO)); | ... | ... |