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,7 +107,7 @@ $app->group('/api/v1',function(){ | ||
| 107 | $contextoDTO = new ContextoDTO(); | 107 | $contextoDTO = new ContextoDTO(); |
| 108 | $usuarioDTO->setStrSigla($request->getParam('usuario')); | 108 | $usuarioDTO->setStrSigla($request->getParam('usuario')); |
| 109 | $usuarioDTO->setStrSenha($request->getParam('senha')); | 109 | $usuarioDTO->setStrSenha($request->getParam('senha')); |
| 110 | - $contextoDTO->setNumIdContexto($request->getParam('z')); | 110 | + $contextoDTO->setNumIdContexto($request->getParam('contexto')); |
| 111 | $contextoDTO->setNumIdOrgao($request->getParam('orgao')); | 111 | $contextoDTO->setNumIdOrgao($request->getParam('orgao')); |
| 112 | 112 | ||
| 113 | return $response->withJSON($rn->apiAutenticar($usuarioDTO, $contextoDTO)); | 113 | return $response->withJSON($rn->apiAutenticar($usuarioDTO, $contextoDTO)); |