Commit 7b17b712ef4906d7439a2f8eddb1ed6cad7439ed

Authored by eduardo.batista
1 parent eaf7c049
Exists in master and in 1 other branch desenv

[FIX] Corrigindo parametro unidade recebido pelo header.

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
controlador_ws.php
... ... @@ -29,7 +29,7 @@ class TokenValidationMiddleware{
29 29 }
30 30 $unidade = $request->getHeader('unidade');
31 31 if($unidade){
32   - $rn->alterarUnidadeAtual($unidade);
  32 + $rn->alterarUnidadeAtual($unidade[0]);
33 33 }
34 34 $response = $next($request, $response);
35 35 return $response;
... ...