diff --git a/src/Service/Impl/AppStoreServiceImpl.php b/src/Service/Impl/AppStoreServiceImpl.php index c8c5e6e..ac2a404 100644 --- a/src/Service/Impl/AppStoreServiceImpl.php +++ b/src/Service/Impl/AppStoreServiceImpl.php @@ -94,7 +94,7 @@ public function getOtherApp(string $username): array */ public function download(string $space, string $identifier, string $version): bool { - $localPluginPath = Plugin::PLUGIN_PATH . DIRECTORY_SEPARATOR . $space . DIRECTORY_SEPARATOR . $identifier; + $localPluginPath = Plugin::PLUGIN_PATH . DIRECTORY_SEPARATOR . $identifier; if (file_exists($localPluginPath)) { throw new \RuntimeException(sprintf('The plugin %s already exists', $identifier)); }