diff --git a/src/ElementsAdapter.php b/src/ElementsAdapter.php index 83d2506..9d58c63 100755 --- a/src/ElementsAdapter.php +++ b/src/ElementsAdapter.php @@ -305,8 +305,8 @@ protected function getMediaFileDownload($path) throw new Exception("Not a file."); } - $id = $file['bundle']; - $response = $this->client->get("api/media/download/{$id}"); + $id = $file['id']; + $response = $this->client->get("api/2/media/files/{$id}/download"); return $response; }