Skip to content

Commit 09ef22c

Browse files
committed
Fix missing context input for macros
1 parent 4a2f1af commit 09ef22c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LaravelHttpClientLoggerServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function packageBooted()
3838
return $this->withMiddleware((new LoggingMiddleware(
3939
$logger ?? resolve(HttpLoggerInterface::class),
4040
$filter ?? resolve(HttpLoggingFilterInterface::class)
41-
))->__invoke());
41+
))->__invoke($context));
4242
});
4343

4444
PendingRequest::macro('logWhen', function (

0 commit comments

Comments
 (0)