From 3033fc692b8e6938879244f667ff1236bddbf153 Mon Sep 17 00:00:00 2001 From: Steve Bauman Date: Thu, 13 Jun 2024 09:43:33 -0400 Subject: [PATCH] Try again with sink --- src/Drivers/MaxMind.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Drivers/MaxMind.php b/src/Drivers/MaxMind.php index a149122..2a367b0 100644 --- a/src/Drivers/MaxMind.php +++ b/src/Drivers/MaxMind.php @@ -37,9 +37,9 @@ public function update(Command $command): void $tarFileName = 'maxmind.tar.gz' ); - $storage->put($tarFileName, Http::throw()->get( + Http::withOptions(['sink' => $tarFilePath])->throw()->get( $this->getDatabaseUrl() - )->body()); + ); $file = $this->discoverDatabaseFile( $archive = new PharData($tarFilePath)