We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f85c1d6 + 32c5cae commit e31901dCopy full SHA for e31901d
1 file changed
app/Http/Middleware/TokenValidation.php
@@ -12,7 +12,7 @@ class TokenValidation
12
* @var array
13
*/
14
protected $except = [
15
- '/api/health'
+ '/api/health',
16
];
17
18
/**
@@ -24,7 +24,7 @@ class TokenValidation
24
25
public function handle($request, Closure $next)
26
{
27
- if (!$this->inExceptArray($request)
+ if (! $this->inExceptArray($request)
28
&& $this->hasSecretToken()
29
&& $request->header($this->secretTokenName()) !== $this->secretToken()
30
) {
0 commit comments