diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2022-09-05 17:07:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-05 17:07:53 +0300 |
commit | 1f0955663517298a7c4f25777852a2e32ab550d9 (patch) | |
tree | bcb016f1c14ce2e92ccf35aa1c1bf0cca1973d72 | |
parent | 4343c083a4bff9501154378ea08ed6f749192a0c (diff) | |
parent | 9ad0fbf1e20c41a9693192e915cf2165d69074b2 (diff) |
Merge pull request #242 from nextcloud/fix/scan-timeout-string
Fix type of scan timeout
-rw-r--r-- | lib/Scanner/ExternalKaspersky.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Scanner/ExternalKaspersky.php b/lib/Scanner/ExternalKaspersky.php index f7c2487..878bc9b 100644 --- a/lib/Scanner/ExternalKaspersky.php +++ b/lib/Scanner/ExternalKaspersky.php @@ -81,7 +81,7 @@ class ExternalKaspersky extends ScannerBase { $body = base64_encode($body); $response = $this->clientService->newClient()->post("$avHost:$avPort/api/v3.0/scanmemory", [ 'json' => [ - 'timeout' => 60000, + 'timeout' => "60000", 'object' => $body, ], 'connect_timeout' => 5, |