From a42f76226a67cf77fc08f42ddfb92501f7d35da5 Mon Sep 17 00:00:00 2001 From: Markus Klein Date: Fri, 19 Feb 2021 15:23:29 +0100 Subject: [PATCH] [BUGFIX] Use correct base URL for media --- src/Entity/Brand.php | 2 +- src/Entity/SkillSet.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Entity/Brand.php b/src/Entity/Brand.php index 1dbbf0d..7f8489e 100644 --- a/src/Entity/Brand.php +++ b/src/Entity/Brand.php @@ -65,7 +65,7 @@ class Brand return ''; } - return $this->settings->getMySkillDisplayUrl() . '/' . $mediaUrl; + return $this->settings->getAPIUrl() . '/' . $mediaUrl; } // In order to support frameworks / APIs that expect "getter". diff --git a/src/Entity/SkillSet.php b/src/Entity/SkillSet.php index 7e79c36..e9a0293 100644 --- a/src/Entity/SkillSet.php +++ b/src/Entity/SkillSet.php @@ -86,7 +86,7 @@ class SkillSet return ''; } - return $this->settings->getMySkillDisplayUrl() . '/' . $mediaUrl; + return $this->settings->getAPIUrl() . '/' . $mediaUrl; } /**