Skip to content

Commit

Permalink
middleware bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulalam31 committed Jul 24, 2024
1 parent 5889731 commit 09ace2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Middleware/AbuseIp.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class AbuseIp
{
public function handle(Request $request, Closure $next)
{
$abuseip = config('abuseip.abuse_ips');
$abuseip = config('abuseip.abuse_ips')();

if (in_array($request->ip(), $abuseip)) {

Expand Down

0 comments on commit 09ace2d

Please sign in to comment.