kyle hace 2 años
padre
commit
7acb6eb66f
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      app/Http/Services/Web/Api2021Service.php

+ 2
- 2
app/Http/Services/Web/Api2021Service.php Ver fichero

@@ -293,7 +293,7 @@ class Api2021Service
293 293
                 ],
294 294
                 'timeout' => 60, // Response timeout
295 295
                 'connect_timeout' => 30, // Connection timeout
296
-                'on_stats' => function (\GuzzleHttp\TransferStats $stats) {
296
+                'on_stats' => function (\GuzzleHttp\TransferStats $stats) use ($rqid) {
297 297
                     if ($stats->hasResponse()) {
298 298
                         $this->debuglog('lineFriendCheck-on_stats_ok', [
299 299
                             'rqid' => $rqid ?? 0
@@ -1016,7 +1016,7 @@ class Api2021Service
1016 1016
                 ],
1017 1017
                 'timeout' => 60, // Response timeout
1018 1018
                 'connect_timeout' => 30, // Connection timeout
1019
-                'on_stats' => function (\GuzzleHttp\TransferStats $stats) {
1019
+                'on_stats' => function (\GuzzleHttp\TransferStats $stats) use ($rqid) {
1020 1020
                     if ($stats->hasResponse()) {
1021 1021
                         $this->debuglog('playerTag-on_stats_ok', [
1022 1022
                             'rqid' => $rqid ?? 0