Skip to content

Commit

Permalink
fix: adiciona parametro obrigatorio ao chamar _AuthException_
Browse files Browse the repository at this point in the history
  • Loading branch information
valdeir2000 committed Sep 22, 2020
1 parent e42a744 commit 0f23a86
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ protected function request(string $path = '')

return $response;
} elseif ($request->getHttpStatus() === 401) {
throw new AuthException('Check your credentials', 1000);
throw new AuthException($this->env, 'Check your credentials', 1000);
} else {
throw new PagSeguroRequestException($this->env, $request, $path);
}
Expand Down

0 comments on commit 0f23a86

Please sign in to comment.