diff --git a/lib/Storage/BeeSwarm.php b/lib/Storage/BeeSwarm.php index 0b03df6..16b9488 100755 --- a/lib/Storage/BeeSwarm.php +++ b/lib/Storage/BeeSwarm.php @@ -72,7 +72,7 @@ class BeeSwarm extends Common public function __construct($params) { $this->parseParams($params); - $this->id = 'ethswarm::' . $this->api_url; + $this->id = 'ethswarm::' .str_replace("https://", "", $this->api_url) . '::'.$this->access_key; $this->storageId = $this->getStorageCache()->getNumericId(); // Load handlers