Skip to content
This repository was archived by the owner on Apr 1, 2021. It is now read-only.

Commit bd4539e

Browse files
committed
removed: unused parameter (#17)
1 parent 6a996f6 commit bd4539e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Middleware/Authenticate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function handle($request, Closure $next)
2222
'message' => 'Token not provided',
2323
];
2424

25-
return response()->json($data, $data['status'], 401);
25+
return response()->json($data, $data['status']);
2626
}
2727

2828
return $next($request);

0 commit comments

Comments
 (0)