diff --git a/CHANGELOG.md b/CHANGELOG.md index fa7ab39..0d6f2c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # craftagram Changelog +## 2.0.2 - 2023-02-06 +- Fix settings URL (#61) + ## 2.0.1 - 2022-12-12 - Fix error typing diff --git a/composer.json b/composer.json index 9caaa24..9aa2200 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "scaramangagency/craftagram", "description": "Grab Instagram content through the Instagram Basic Display API", "type": "craft-plugin", - "version": "2.0.1", + "version": "2.0.2", "keywords": [ "craft", "cms", diff --git a/src/Craftagram.php b/src/Craftagram.php index af1adac..48e3e4e 100644 --- a/src/Craftagram.php +++ b/src/Craftagram.php @@ -149,7 +149,7 @@ public function afterSaveSettings(): void { } public function getSettingsResponse(): mixed { - Craft::$app->controller->redirect(UrlHelper::cpUrl('craftagram/settings')); + return Craft::$app->controller->redirect(UrlHelper::cpUrl('craftagram/settings')); } // Protected Methods