mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
Add archive extension selection (#1828)
This commit is contained in:
@@ -153,7 +153,7 @@ class DaemonFileRepository extends DaemonRepository
|
||||
*
|
||||
* @throws ConnectionException
|
||||
*/
|
||||
public function compressFiles(?string $root, array $files, ?string $name): array
|
||||
public function compressFiles(?string $root, array $files, ?string $name, ?string $extension): array
|
||||
{
|
||||
return $this->getHttpClient()
|
||||
// Wait for up to 15 minutes for the archive to be completed when calling this endpoint
|
||||
@@ -164,6 +164,7 @@ class DaemonFileRepository extends DaemonRepository
|
||||
'root' => $root ?? '/',
|
||||
'files' => $files,
|
||||
'name' => $name ?? '',
|
||||
'extension' => $extension ?? '',
|
||||
]
|
||||
)->json();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user